sul-dlss / cocina-models

Cocina repository data model (implemented in Ruby)
https://sul-dlss.github.io/cocina-models/
3 stars 0 forks source link

add validator for form: no source or type without a value #611

Open ndushay opened 1 year ago

ndushay commented 1 year ago

implied by ticket sul-dlss/argo/issues/4072:

a form without a "value" but having a source or type "... prevents a druid from being indexed. This makes it very difficult to understand the processing status of the druid and creates a complex remediation task to fix the Cocina."

See also https://github.com/sul-dlss/dor-services-app/issues/4522 which indicates when a form property has a value:

form attributes have a value following the same approach as DescriptiveBasicValue:

for DescriptiveBasicValue: