Skip to content

Standardize Index (ordinal) vs hasTotalNumberOf (count) properties #463

@aro-max

Description

@aro-max

Problem

Some properties currently use *Number in ways that mix ordinal positions and total counts, which can cause ambiguity.
Example:

  • episodeNumber may refer to the episode’s position in a season or the total number of episodes, depending on context.
    Similar inconsistencies exist for season, segment, line, and part numbering.

Proposed Solution

Semantic rules:

  • …Index = position / ordinal (1-based)
  • hasTotalNumberOf… = totals / quantities

Follow the pattern already used in the audio/video area hasTotalNumberOfAudioTracks


Properties

  • ec:hasEpisodeIndex
  • ec:hasEpisodeIndexInSeason
  • ec:hasEpisodeIndexInSerial
  • ec:hasEpisodeIndexInSeries
  • ec:hasSeasonIndex
  • ec:hasSegmentIndex
  • ec:hasLineIndex
  • ec:hasTotalNumberOfEpisodes
  • ec:hasTotalNumberOfGroupMembers
  • ec:hasTotalNumberOfParts
  • Artefact/text line corner properties renamed from …LineNumber to …LineIndex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions