Commit b328c877 authored by schneider210's avatar schneider210
Browse files

feat: provide mixin refelcting mandatory metadata according to the specs given

parent c93ed760
Pipeline #174703 passed with stages
in 2 minutes and 22 seconds
const metadataApi = [
{
collection: {
displayable: [
'title',
'collector',
'description',
],
mandatory: [
'title',
'collector',
],
},
},
{
manifest: {
displayable: [
'label',
'actor',
'actor:role',
'actor:name',
'actor:idref',
'repository',
'repository:label',
'repository:url',
'image',
'image:license',
'metadata',
'metadata:key',
'metadata:value',
'license',
'license:id',
'license:notes',
'description',
],
mandatory: [
'label',
'actor',
'actor:name',
'metadata',
'metadata:key',
'metadata:value',
'repository:url',
'image:license',
'license',
'license:id',
],
},
},
{
item: {
displayable: [
'title',
'title:title',
'type',
'n',
'lang',
'langAlt',
'description',
'idref',
'idref:type',
'idref:id',
],
mandatory: [
'title:title',
'idref:type',
'idref:id',
],
},
},
];
export { metadataApi };
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment