Skip to content

Commit

Permalink
fix(metadata): make CodeMeta TSV usable IQSS#7844
Browse files Browse the repository at this point in the history
- Add missing displayOrder values
- Fix missing type for software requirements
- Avoid splitting up compound fields too much,
  otherwise data is not exportable to schema.org
  or CodeMeta JSON-LD without special handling (IQSS#7856)
- Tweak order
- Tweak descriptions and examples
- Fix whitespaces and line endings
  • Loading branch information
poikilotherm committed Jul 21, 2022
1 parent 492491e commit 382c1e4
Showing 1 changed file with 37 additions and 40 deletions.
77 changes: 37 additions & 40 deletions scripts/api/data/metadatablocks/codemeta.tsv
Original file line number Diff line number Diff line change
@@ -1,40 +1,37 @@
#metadataBlock name dataverseAlias displayName blockURI
codeMeta20 Software Metadata (CodeMeta v2.0) https://codemeta.github.io/terms/
#datasetField name title description watermark fieldType displayOrder displayFormat advancedSearchField allowControlledVocabulary allowmultiples facetable displayoncreate required parent metadatablock_id termURI
softwareVersion Software version Version of the software instance, usually following some convention like SemVer etc. e.g. 0.2.1 or 1.3 or 2021.1 etc text 0 v#VALUE TRUE FALSE FALSE TRUE TRUE FALSE codeMeta20 https://schema.org/softwareVersion
developmentStatus Development Status Description of development status, e.g. work in progress (wip), active, inactive, suspended. See repostatus.org for more information. text 1 <a href='https://www.repostatus.org/##VALUE'><img src='https://www.repostatus.org/badges/latest/#VALUE.svg' alt='#VALUE '/></a> TRUE TRUE FALSE TRUE FALSE FALSE codeMeta20
codeRepository Code Repository Link to the repository where the un-compiled, human readable code and related code is located (SVN, GitHub, CodePlex, institutional GitLab instance, etc.). https://... url 2 <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> TRUE FALSE TRUE FALSE TRUE FALSE codeMeta20 https://schema.org/codeRepository
programmingLanguage Programming Language The programming language(s) used to implement the software (e.g. Python, C++, Matlab, Fortran, Java, Julia,...) text 3 #VALUE TRUE FALSE TRUE TRUE TRUE FALSE codeMeta20 https://schema.org/programmingLanguage
operatingSystem Operating Systems Operating systems supported (e.g. Windows 10, OSX 11.3, Android 11). 4 FALSE FALSE TRUE FALSE TRUE FALSE codeMeta20 https://schema.org/operatingSystem
operatingSystemName Name The supported operating systems name Windows, Mac OS X, Linux, Android, ... text 5 #VALUE TRUE FALSE FALSE TRUE TRUE FALSE operatingSystem codeMeta20
operatingSystemVersion Version The supported operating systems version text 6 #VALUE TRUE FALSE FALSE TRUE TRUE FALSE operatingSystem codeMeta20
applicationCategory Application Category Type of software application, e.g. Simulation, Analysis, Visualisation. "" text #VALUE TRUE FALSE TRUE TRUE TRUE FALSE codeMeta20 https://schema.org/applicationCategory
applicationSubCategory Application Subcategory Subcategory of the application, e.g. Arcade Game. text #VALUE TRUE FALSE TRUE TRUE FALSE FALSE codeMeta20 https://schema.org/applicationSubCategory
softwareHelp Software Help/Documentation Link to help texts or documentation https://... url <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE TRUE FALSE TRUE FALSE codeMeta20 https://schema.org/softwareHelp
buildInstructions Build instructions Link to installation instructions/documentation https://... url <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE FALSE TRUE FALSE FALSE codeMeta20
runtimePlatform Runtime Platform Runtime platform or script interpreter dependencies (Example - Java v1, Python2.3, .Net Framework 3.0). Supersedes runtime. text #VALUE TRUE FALSE TRUE TRUE FALSE FALSE codeMeta20 https://schema.org/runtimePlatform
targetProduct Target Product Target Operating System / Product to which the code applies. If applies to several versions, just the product name can be used. text #VALUE FALSE FALSE TRUE TRUE FALSE FALSE codeMeta20 https://schema.org/targetProduct
softwareRequirements Software Requirements Required software dependencies none FALSE FALSE TRUE FALSE FALSE FALSE codeMeta20 https://schema.org/softwareRequirements
softwareRequirementsName Name Name or title of the required software/library text #VALUE FALSE FALSE FALSE FALSE FALSE softwareRequirements codeMeta20
softwareRequirementsVersion Version Version of the required software/library text #VALUE FALSE FALSE FALSE FALSE FALSE softwareRequirements codeMeta20
softwareRequirementsUrl URL Link to required software/library https://... url <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE FALSE FALSE FALSE softwareRequirements codeMeta20
softwareSuggestions Software Suggestions Optional dependencies, e.g. for optional features, code development, etc. none FALSE FALSE TRUE FALSE FALSE FALSE codeMeta20
softwareSuggestionsName Name Name or title of the optional software/library text #VALUE FALSE FALSE FALSE FALSE FALSE softwareSuggestions codeMeta20
softwareSuggestionsVersion Version Version of the optional software/library text #VALUE FALSE FALSE FALSE FALSE FALSE softwareSuggestions codeMeta20
softwareSuggestionsUrl URL Link to optional software/library https://... url <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE FALSE FALSE FALSE softwareSuggestions codeMeta20
permissions Permissions Permission(s) required to run the code (for example, a mobile app may require full internet access or may run only on wifi). text #VALUE FALSE FALSE TRUE FALSE FALSE FALSE codeMeta20 https://schema.org/permissions
memoryRequirements Memory Requirements Minimum memory requirements. text #VALUE FALSE FALSE TRUE FALSE FALSE FALSE codeMeta20 https://schema.org/memoryRequirements
processorRequirements Processor Requirements Processor architecture required to run the application (e.g. IA64). text #VALUE FALSE FALSE TRUE FALSE FALSE FALSE codeMeta20 https://schema.org/processorRequirements
storageRequirements Storage Requirements Storage requirements (e.g. free space required). text #VALUE FALSE FALSE FALSE FALSE FALSE FALSE codeMeta20 https://schema.org/storageRequirements
releaseNotes Release Notes Link to release notes https://... url <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE FALSE FALSE FALSE FALSE codeMeta20 https://schema.org/releaseNotes
contIntegration Continous integration Link to continuous integration service https://... url <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE TRUE FALSE FALSE FALSE codeMeta20
issueTracker Issue Tracker Link to software bug reporting or issue tracking system https://... url <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE FALSE TRUE FALSE FALSE codeMeta20
#controlledVocabulary DatasetField Value identifier displayOrder
developmentStatus Concept concept 0
developmentStatus WIP wip 1
developmentStatus Active active 2
developmentStatus Inactive inactive 3
developmentStatus Unsupported unsupported 4
developmentStatus Moved moved 5
developmentStatus Suspended suspended 6
developmentStatus Abandoned abandoned 7
#metadataBlock name dataverseAlias displayName blockURI
codeMeta20 Software Metadata (CodeMeta v2.0) https://codemeta.github.io/terms/
#datasetField name title description watermark fieldType displayOrder displayFormat advancedSearchField allowControlledVocabulary allowmultiples facetable displayoncreate required parent metadatablock_id termURI
softwareVersion Software Version Version of the software instance, usually following some convention like SemVer etc. e.g. 0.2.1 or 1.3 or 2021.1 etc text 0 #VALUE TRUE FALSE FALSE TRUE TRUE FALSE codeMeta20 https://schema.org/softwareVersion
developmentStatus Development Status Description of development status, e.g. work in progress (wip), active, etc. See repostatus.org for more information. text 1 <a href='https://www.repostatus.org/##VALUE'><img src='https://www.repostatus.org/badges/latest/#VALUE.svg' alt='#VALUE '/></a> TRUE TRUE FALSE TRUE FALSE FALSE codeMeta20 https://www.repostatus.org
codeRepository Code Repository Link to the repository where the un-compiled, human readable code and related code is located (SVN, GitHub, CodePlex, institutional GitLab instance, Gitea, etc.). e.g. https://github.com/user/project url 2 <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> TRUE FALSE TRUE FALSE TRUE FALSE codeMeta20 https://schema.org/codeRepository
applicationCategory Application Category Type of software application, e.g. Simulation, Analysis, Visualisation. text 3 #VALUE TRUE FALSE TRUE TRUE TRUE FALSE codeMeta20 https://schema.org/applicationCategory
applicationSubCategory Application Subcategory Subcategory of the application, e.g. Arcade Game. text 4 #VALUE TRUE FALSE TRUE TRUE FALSE FALSE codeMeta20 https://schema.org/applicationSubCategory
programmingLanguage Programming Language The programming language(s) used to implement the software (e.g. Python, C++, Matlab, Fortran, Java, Julia,...) text 5 #VALUE TRUE FALSE TRUE TRUE TRUE FALSE codeMeta20 https://schema.org/programmingLanguage
runtimePlatform Runtime Platform Runtime platform or script interpreter dependencies (e.g. Java 11, Python 3.10 or .Net Framework 4.8). e.g. Python 3.10 text 6 #VALUE TRUE FALSE TRUE TRUE FALSE FALSE codeMeta20 https://schema.org/runtimePlatform
operatingSystem Operating Systems Operating systems supported (e.g. Windows 10, OSX 11.3, Android 11). text 7 #VALUE TRUE FALSE TRUE TRUE TRUE FALSE codeMeta20 https://schema.org/operatingSystem
targetProduct Target Product Target Operating System / Product to which the code applies. If applies to several versions, just the product name can be used. text 8 #VALUE TRUE FALSE TRUE TRUE FALSE FALSE codeMeta20 https://schema.org/targetProduct
buildInstructions Build Instructions Link to installation instructions/documentation e.g. https://github.com/user/project/blob/main/BUILD.md url 9 <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE TRUE FALSE FALSE FALSE codeMeta20 https://codemeta.github.io/terms/buildInstructions
softwareRequirementsItem Software Requirements Required software dependencies none 10 FALSE FALSE TRUE FALSE TRUE FALSE codeMeta20
softwareRequirements Name & Version Name and version of the required software/library dependency e.g. Pandas 1.4.3 text 0 #VALUE TRUE FALSE FALSE FALSE TRUE FALSE softwareRequirementsItem codeMeta20 https://schema.org/softwareRequirements
softwareRequirementsInfoUrl Info URL Link to required software/library homepage or documentation (ideally also versioned) e.g. https://pandas.pydata.org/pandas-docs/version/1.4.3 url 1 <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE FALSE FALSE TRUE FALSE softwareRequirementsItem codeMeta20 https://dataverse.org/schema/codeMeta20/softwareRequirementsInfoUrl
softwareSuggestionsItem Software Suggestions Optional dependencies, e.g. for optional features, code development, etc. none 11 FALSE FALSE TRUE FALSE FALSE FALSE codeMeta20
softwareSuggestions Name & Version Name and version of the optional software/library dependency e.g. Sphinx 5.0.2 text 0 #VALUE TRUE FALSE FALSE TRUE FALSE FALSE softwareSuggestionsItem codeMeta20 https://codemeta.github.io/terms/softwareSuggestions
softwareSuggestionsInfoUrl Info URL Link to optional software/library homepage or documentation (ideally also versioned) e.g. https://www.sphinx-doc.org url 1 <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE FALSE FALSE FALSE FALSE softwareSuggestionsItem codeMeta20 https://dataverse.org/schema/codeMeta20/softwareSuggestionsInfoUrl
memoryRequirements Memory Requirements Minimum memory requirements. text 12 #VALUE TRUE FALSE FALSE FALSE FALSE FALSE codeMeta20 https://schema.org/memoryRequirements
processorRequirements Processor Requirements Processor architecture required to run the application (e.g. IA64). text 13 #VALUE TRUE FALSE TRUE FALSE FALSE FALSE codeMeta20 https://schema.org/processorRequirements
storageRequirements Storage Requirements Storage requirements (e.g. free space required). text 14 #VALUE TRUE FALSE FALSE FALSE FALSE FALSE codeMeta20 https://schema.org/storageRequirements
permissions Permissions Permission(s) required to run the code (for example, a mobile app may require full internet access or may run only on wifi). text 15 #VALUE TRUE FALSE TRUE FALSE FALSE FALSE codeMeta20 https://schema.org/permissions
softwareHelp Software Help/Documentation Link to help texts or documentation e.g. https://user.github.io/project/docs url 16 <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE TRUE FALSE TRUE FALSE codeMeta20 https://schema.org/softwareHelp
readme Readme Link to the README of the project e.g. https://github.com/user/project/blob/main/README.md url 17 <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE FALSE FALSE FALSE FALSE codeMeta20 https://codemeta.github.io/terms/readme
releaseNotes Release Notes Link to release notes e.g. https://github.com/user/project/blob/main/docs/release-0.1.md url 18 <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE FALSE FALSE FALSE FALSE codeMeta20 https://schema.org/releaseNotes
contIntegration Continuous Integration Link to continuous integration service e.g. https://github.com/user/project/actions url 19 <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE TRUE FALSE FALSE FALSE codeMeta20 https://codemeta.github.io/terms/contIntegration
issueTracker Issue Tracker Link to software bug reporting or issue tracking system e.g. https://github.com/user/project/issues url 20 <a href="#VALUE" target="_blank" rel="noopener">#VALUE</a> FALSE FALSE FALSE FALSE FALSE FALSE codeMeta20 https://codemeta.github.io/terms/issueTracker
#controlledVocabulary DatasetField Value identifier displayOrder
developmentStatus Concept concept 0
developmentStatus WIP wip 1
developmentStatus Active active 2
developmentStatus Inactive inactive 3
developmentStatus Unsupported unsupported 4
developmentStatus Moved moved 5
developmentStatus Suspended suspended 6
developmentStatus Abandoned abandoned 7

0 comments on commit 382c1e4

Please sign in to comment.