Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Country Of Origin element #171

Open
cjcodeproj opened this issue Dec 17, 2024 · 2 comments
Open

Country Of Origin element #171

cjcodeproj opened this issue Dec 17, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@cjcodeproj
Copy link
Owner

Put together a an element identifying country of origin under the catalog structure.

<catalog>
 <copyright/>
 <countryOfOrigin code='IT'>Italy</countryOfOrigin>
</catalog>

Figure out if there's a simpler way to express it.
Once the element is in the schema, it should be added to the templates.

It should be optional, but within a year's time, it should probably be mandatory.

@cjcodeproj cjcodeproj added the enhancement New feature or request label Dec 17, 2024
@cjcodeproj cjcodeproj self-assigned this Dec 17, 2024
@cjcodeproj
Copy link
Owner Author

Update

The element structure should probably look like his.

 <countryOfOrigin>
  <primary code='IT'>Italy</primary>
  <secondary code='ES'>Spain</secondary>
 </countryOfOrigin>

The primary element would be required, with optional secondaries. The code attribute should reflect the ISO 3166 code for the country in question.

The information is simply a list of usually one country or more countries identifying where the film comes from for legal purposes. That value may have nothing to do with filming locations. Typically the value is only going to contain one country value.

Code implementors reading the catalog structure should not make a default assumption about country of origin if the value is missing. If a placeholder value is needed, a non-sensical value like '00' could be used.

@cjcodeproj
Copy link
Owner Author

Reference to somewhat related issue: #176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant