Skip to content

Commit

Permalink
Merge pull request #512 from Raphael-Gazzotti/v5
Browse files Browse the repository at this point in the history
V5: Removal of namespace in schema files.
  • Loading branch information
lzehl authored Oct 16, 2024
2 parents 13f28fc + 3db47bd commit 85bc1de
Show file tree
Hide file tree
Showing 77 changed files with 320 additions and 317 deletions.
4 changes: 2 additions & 2 deletions schemas/actors/accountInformation.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/core/AccountInformation",
"_type": "core:AccountInformation",
"required": [
"service",
"userName"
Expand All @@ -8,7 +8,7 @@
"service": {
"_instruction": "Add the web service of this account.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/WebService"
"core:WebService"
]
},
"userName": {
Expand Down
6 changes: 3 additions & 3 deletions schemas/actors/affiliation.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/core/Affiliation",
"_type": "core:Affiliation",
"required": [
"memberOf"
],
Expand All @@ -14,8 +14,8 @@
"memberOf": {
"_instruction": "Add the organization or consortium another party was or still is a member of.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/Consortium",
"https://openminds.ebrains.eu/core/Organization"
"core:Consortium",
"core:Organization"
]
},
"startDate": {
Expand Down
4 changes: 2 additions & 2 deletions schemas/actors/consortium.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/core/Consortium",
"_type": "core:Consortium",
"_categories": [
"legalPerson"
],
Expand All @@ -10,7 +10,7 @@
"contactInformation": {
"_instruction": "Add the contact information of this consortium.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/ContactInformation"
"core:ContactInformation"
]
},
"fullName": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/actors/contactInformation.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/core/ContactInformation",
"_type": "core:ContactInformation",
"required": [
"email"
],
Expand Down
4 changes: 2 additions & 2 deletions schemas/actors/contribution.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/core/Contribution",
"_type": "core:Contribution",
"required": [
"contributor",
"type"
Expand All @@ -17,7 +17,7 @@
"uniqueItems": true,
"_instruction": "Add the party that performed the contribution.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/ContributionType"
"controlledTerms:ContributionType"
]
}
}
Expand Down
12 changes: 6 additions & 6 deletions schemas/actors/organization.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/core/Organization",
"_type": "core:Organization",
"_categories": [
"legalPerson"
],
Expand All @@ -13,7 +13,7 @@
"uniqueItems": true,
"_instruction": "Enter all current and, if necessary, past affiliations of this organization.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/Affiliation"
"core:Affiliation"
]
},
"digitalIdentifier": {
Expand All @@ -22,9 +22,9 @@
"uniqueItems": true,
"_instruction": "Add all globally unique and persistent digital identifier of this organization.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/GRIDID",
"https://openminds.ebrains.eu/core/RORID",
"https://openminds.ebrains.eu/core/RRID"
"core:GRIDID",
"core:RORID",
"core:RRID"
]
},
"fullName": {
Expand All @@ -37,7 +37,7 @@
"uniqueItems": true,
"_instruction": "Add all parent organizations of this organization.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/Organization"
"core:Organization"
]
},
"homepage": {
Expand Down
10 changes: 5 additions & 5 deletions schemas/actors/person.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/core/Person",
"_type": "core:Person",
"_categories": [
"agent",
"legalPerson"
Expand All @@ -14,7 +14,7 @@
"uniqueItems": true,
"_instruction": "Enter all current and, if desired, past affiliations of this person.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/Affiliation"
"core:Affiliation"
]
},
"alternateName": {
Expand All @@ -32,13 +32,13 @@
"uniqueItems": true,
"_instruction": "Add the information about web service accounts held by this person.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/AccountInformation"
"core:AccountInformation"
]
},
"contactInformation": {
"_instruction": "Add the contact information of this person.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/ContactInformation"
"core:ContactInformation"
]
},
"digitalIdentifier": {
Expand All @@ -47,7 +47,7 @@
"uniqueItems": true,
"_instruction": "Add all globally unique and persistent digital identifier of this person.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/ORCID"
"core:ORCID"
]
},
"familyName": {
Expand Down
4 changes: 2 additions & 2 deletions schemas/data/contentType.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/core/ContentType",
"_type": "core:ContentType",
"required": [
"name"
],
Expand All @@ -10,7 +10,7 @@
"uniqueItems": true,
"_instruction": "Add all data types that may be represented via this content type.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/DataType"
"controlledTerms:DataType"
]
},
"description": {
Expand Down
4 changes: 2 additions & 2 deletions schemas/data/contentTypePattern.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/core/ContentTypePattern",
"_type": "core:ContentTypePattern",
"required": [
"contentType",
"regex"
Expand All @@ -8,7 +8,7 @@
"contentType": {
"_instruction": "Add the content type that can be defined by the regular expression of this content type pattern (e.g., for file extensions).",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/ContentType"
"core:ContentType"
]
},
"lookupLabel": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/copyright.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/core/Copyright",
"_type": "core:Copyright",
"required": [
"holder",
"year"
Expand Down
16 changes: 8 additions & 8 deletions schemas/data/file.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/core/File",
"_type": "core:File",
"_categories": [
"fileOrigin"
],
Expand All @@ -18,19 +18,19 @@
"uniqueItems": true,
"_instruction": "Add all data types that are specifically represented in this file instance.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/DataType"
"controlledTerms:DataType"
]
},
"fileRepository": {
"_instruction": "Add the overarching repository to which this file instance belongs.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/FileRepository"
"core:FileRepository"
]
},
"format": {
"_instruction": "Add the content type of this file instance.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/ContentType"
"core:ContentType"
]
},
"hash": {
Expand All @@ -39,7 +39,7 @@
"uniqueItems": true,
"_instruction": "Add all hashes that were generated for this file instance.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/Hash"
"core:Hash"
]
},
"IRI": {
Expand All @@ -55,7 +55,7 @@
"uniqueItems": true,
"_instruction": "Add all file bundles in which this file instance is grouped into.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/FileBundle"
"core:FileBundle"
]
},
"name": {
Expand All @@ -65,13 +65,13 @@
"specialUsageRole": {
"_instruction": "Add the special usage role of this file instance.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/FileUsageRole"
"controlledTerms:FileUsageRole"
]
},
"storageSize": {
"_instruction": "Enter the storage size of this file instance.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
"core:QuantitativeValue"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions schemas/data/fileArchive.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/core/FileArchive",
"_type": "core:FileArchive",
"required": [
"format",
"IRI"
Expand All @@ -8,7 +8,7 @@
"format": {
"_instruction": "Add the content type of this file archive.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/ContentType"
"core:ContentType"
]
},
"IRI": {
Expand All @@ -24,7 +24,7 @@
"uniqueItems": true,
"_instruction": "Add the data that were ingested and modified to create this file archive.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/File"
"core:File"
]
}
}
Expand Down
14 changes: 7 additions & 7 deletions schemas/data/fileBundle.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/core/FileBundle",
"_type": "core:FileBundle",
"_categories": [
"fileOrigin"
],
Expand All @@ -15,7 +15,7 @@
"format": {
"_instruction": "If the files within this bundle are organised and formatted according to a formal data structure, add the content type of this file bundle. Leave blank if no formal data structure has been applied to the files within this bundle.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/ContentType"
"core:ContentType"
]
},
"groupedBy": {
Expand All @@ -35,20 +35,20 @@
"uniqueItems": true,
"_instruction": "Add all grouping types that were used to define this file bundle. Note that the grouping types define the possible schema type of the instances stated under 'groupedBy'.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/FileBundleGrouping"
"controlledTerms:FileBundleGrouping"
]
},
"hash": {
"_instruction": "Add the hash that was generated for this file bundle.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/Hash"
"core:Hash"
]
},
"isPartOf": {
"_instruction": "Add the file bundle or file repository this file bundle is part of.",
"_linkedTypes": [
"https://openminds.ebrains.eu/core/FileBundle",
"https://openminds.ebrains.eu/core/FileRepository"
"core:FileBundle",
"core:FileRepository"
]
},
"name": {
Expand All @@ -58,7 +58,7 @@
"storageSize": {
"_instruction": "Enter the storage size of this file bundle.",
"_embeddedTypes": [
"https://openminds.ebrains.eu/core/QuantitativeValue"
"core:QuantitativeValue"
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions schemas/data/filePathPattern.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_type": "https://openminds.ebrains.eu/core/FilePathPattern",
"_type": "core:FilePathPattern",
"required": [
"groupingType",
"regex"
Expand All @@ -11,7 +11,7 @@
"uniqueItems": true,
"_instruction": "Add all grouping types that are defined by this file path pattern.",
"_linkedTypes": [
"https://openminds.ebrains.eu/controlledTerms/FileBundleGrouping"
"controlledTerms:FileBundleGrouping"
]
},
"regex": {
Expand Down
Loading

0 comments on commit 85bc1de

Please sign in to comment.