Skip to content

Metadata: Default values for elements and attributes #1262

@kami2012

Description

@kami2012

Is your feature request related to a problem? Please describe.

To improve usability (the user should have to enter as little information as possible) it would be great if the metadata input form could support default values for elements (
<xs:element name="color" type="xs:string" default="red"/> ) and attributes (
<xs:attribute name="lang" type="xs:string" default="EN"/> ).

Additionally you could also think of fixed values:
<xs:element name="color" type="xs:string" fixed="red"/> and <xs:attribute name="lang" type="xs:string" fixed="EN"/>

Default and fixed values can be defined in the metadata xsd.

Describe the solution you'd like
I would like to have default and fixed values in the metadata input form which I can define in the metadata schema (xsd). Fields that always have the same value, e.g. publisher, could become a fixed values element and don`t need to be filled out by the user anymore.

Other fields, like rights or resource type, usually have a typical value. These values could be suggested by a default values element or attribute so that no user action is required.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions