WGBH / PBCore2.0

Public Broadcasting Metadata Dictionary Project
http://www.pbcore.org
33 stars 9 forks source link

disallow use of both instantiationPhysical and instantiationDigital #89

Open kvanmalssen opened 9 years ago

kvanmalssen commented 9 years ago

Currently the schema allows for both instantiationPhysical and instantiationDigital to be used for the same instantiation. If the elements and their usage stays as is (depending on the outcome of #67), the schema should be modified so that only one of the two is allowed, using xsd:choice. For example:

<xsd:choice>
    <xsd:element name="instantiationPhysical" type="sourceVersionStringType"/>
    <xsd:element name="instantiationDigital" type="sourceVersionStringType"/>
</xsd:choice>
jolene2323 commented 9 years ago

Agreed! This has never made sense to me. We use instantiationPhysical for our physical tape instantiations and instantiationDigital for audiofiles on servers.

asteino commented 9 years ago

I could see where it would be useful to allow both and disallow both. In addition to disallowing the use of both instantiationPhysical and instantiationDigital, a reference element to another instantiation (either physical or digital) could be added (if there isn't one already).