metadatacenter / cedar-yaml-spec

Discussions and issues about the design of CEDAR YAML
0 stars 0 forks source link

Is `configuration` necessary? #5

Open matthewhorridge opened 2 months ago

matthewhorridge commented 2 months ago

E.g. we have,

configuration:
      propertyIRI: https://schema.metadatacenter.org/properties/40db89ca-fe47-4756-ad4d-5519697d2827
      overrideLabel: Textfield
      overrideDescription: Help Text
      multiple: true
      minItems: 0
      maxItems: 7

Why do I have to nest these things inside a configuration object? Why not at the top level for a child?

egyedia commented 2 months ago

To add context: this is present when a field or element is added to a template or element. We wanted to make a clear distinction of what properties belong to the child artifact itself (which will be present if the child artifact is serialized as a first-class entity), and which properties are deployment information, only possible when a field or element is included as a child