Skip to content

Commit

Permalink
add optionset software identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
jwindeck committed Dec 4, 2023
1 parent 97978c0 commit ea12d8e
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 2 deletions.
45 changes: 45 additions & 0 deletions rdmorganiser/options/rdmo_options_new_SMP_for_RDMO-2.0
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,51 @@
<text lang="en">Other</text>
<text lang="de">Anderes</text>
<additional_input>True</additional_input>
</option>
<optionset dc:uri="https://rdmorganiser.github.io/terms/options/software_identifier">
<uri_prefix>https://rdmorganiser.github.io/terms</uri_prefix>
<uri_path>software_identifier</uri_path>
<dc:comment>list of identifiers according to cff standard 1.2.0: https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md#definitionsidentifier</dc:comment>
<provider_key/>
<options>
<option dc:uri="https://rdmorganiser.github.io/terms/options/software_identifier/doi" order="1"/>
<option dc:uri="https://rdmorganiser.github.io/terms/options/software_identifier/url" order="2"/>
<option dc:uri="https://rdmorganiser.github.io/terms/options/software_identifier/swh" order="3"/>
<option dc:uri="https://rdmorganiser.github.io/terms/options/software_identifier/other" order="4"/>
</options>
<conditions/>
</optionset>
<option dc:uri="https://rdmorganiser.github.io/terms/options/software_identifier/doi">
<uri_prefix>https://rdmorganiser.github.io/terms</uri_prefix>
<uri_path>software_identifier/doi</uri_path>
<dc:comment/>
<text lang="en">DOI</text>
<text lang="de">DOI</text>
<additional_input>True</additional_input>
</option>
<option dc:uri="https://rdmorganiser.github.io/terms/options/software_identifier/url">
<uri_prefix>https://rdmorganiser.github.io/terms</uri_prefix>
<uri_path>software_identifier_url</uri_path>
<dc:comment/>
<text lang="en">URL</text>
<text lang="de">URL</text>
<additional_input>True</additional_input>
</option>
<option dc:uri="https://rdmorganiser.github.io/terms/options/software_identifier/swh">
<uri_prefix>https://rdmorganiser.github.io/terms</uri_prefix>
<uri_path>software_identifier/swh</uri_path>
<dc:comment/>
<text lang="en">Software Heritage Identifier</text>
<text lang="de">Software Heritage Identifier</text>
<additional_input>True</additional_input>
</option>
<option dc:uri="https://rdmorganiser.github.io/terms/options/software_identifier/other">
<uri_prefix>https://rdmorganiser.github.io/terms</uri_prefix>
<uri_path>software_identifier/other</uri_path>
<dc:comment/>
<text lang="en">Other</text>
<text lang="de">Sonstige</text>
<additional_input>True</additional_input>
</option>
<optionset dc:uri="https://rdmorganiser.github.io/terms/options/testing">
<uri_prefix>https://rdmorganiser.github.io/terms</uri_prefix>
Expand Down
6 changes: 4 additions & 2 deletions rdmorganiser/questions/SMP-Questions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1982,14 +1982,16 @@ Beispielsweise mit einer &lt;a href=&quot;https://citation-file-format.github.io
<verbose_name_plural lang="de"/>
<default_option/>
<default_external_id/>
<widget_type>textarea</widget_type>
<widget_type>checkbox</widget_type>
<value_type>text</value_type>
<maximum/>
<minimum/>
<step/>
<unit/>
<width/>
<optionsets/>
<optionsets>
<optionset dc:uri="https://rdmorganiser.github.io/terms/options/software_identifier"/>
</optionsets>
<conditions>
<condition dc:uri="https://rdmorganiser.github.io/terms/conditions/application-class-1"/>
<condition dc:uri="https://rdmorganiser.github.io/terms/conditions/application-class-2"/>
Expand Down

0 comments on commit ea12d8e

Please sign in to comment.