Bots, Bureaucrats, data, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators, Upload Wizard campaign editors
485
edits
Simon Stier (talk | contribs) (change doi badge color to blue) Tag: Metadata slot edit |
Simon Stier (talk | contribs) (add repository_record) Tag: Metadata slot edit |
||
jsonschema | |||
---|---|---|---|
Line 357: | Line 357: | ||
} | } | ||
] | ] | ||
}, | |||
"repository_records": { | |||
"type": "array", | |||
"format": "tabs", | |||
"title": "Repositories", | |||
"eval_template": [ | |||
{ | |||
"type": "mustache-wikitext", | |||
"mode": "render", | |||
"value": "\u003Cspan class='badge badge-primary' style='border-top-right-radius:0;border-bottom-right-radius:0'\u003E{{{repository_name}}}\u003C/span\u003E\u003Cspan class='badge badge-secondary' style='border-top-left-radius:0;border-bottom-left-radius:0'\u003E[{{record_link}} \u003Cspan style='color:white'\u003E{{{record_pid}}}\u003C/span\u003E]\u003C/span\u003E" | |||
} | |||
], | |||
"items": { | |||
"type": "object", | |||
"title": "Repository", | |||
"properties": { | |||
"repository_name": { | |||
"type": "string", | |||
"title": "Repository name" | |||
}, | |||
"record_pid": { | |||
"type": "string", | |||
"title": "Record ID" | |||
}, | |||
"record_link": { | |||
"type": "string", | |||
"format": "url", | |||
"title": "Record link" | |||
} | |||
} | |||
} | |||
}, | }, | ||
"type": { | "type": { |