Skip to content

Commit

Permalink
Merge pull request #101 from DiSSCo/AddTitlePropertyToSchemas
Browse files Browse the repository at this point in the history
Add title property to all schemas of latest version (3)
  • Loading branch information
TomDijkema authored Jun 27, 2024
2 parents 034a818 + 67b8d3a commit 61e8e8b
Show file tree
Hide file tree
Showing 18 changed files with 46 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$id": "https://schemas.dissco.tech/schemas/fdo-type/create-update-delete-tombstone-event/0.3.0/create-update-delete-tombstone-event.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Create Update Tombstone Event Version 0.3.0",
"title": "CreateUpdateTombstoneEvent",
"type": "object",
"properties": {
"@id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$id": "https://schemas.dissco.tech/schemas/fdo-type/mapping/0.3.0/data-mapping.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Data Mapping Version 0.3.0",
"title": "DataMapping",
"type": "object",
"properties": {
"@id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$id": "https://schemas.dissco.tech/schemas/fdo-type/digital-media/0.3.0/digital-media.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Digital Media Version 0.3.0",
"title": "DigitalMedia",
"type": "object",
"properties": {
"@id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$id": "https://schemas.dissco.tech/schemas/fdo-type/digital-specimen/0.3.0/chronometric-age.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Chronometric Age Version 0.3.0",
"title": "ChronometricAge",
"type": "object",
"properties": {
"@id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$id": "https://schemas.dissco.tech/schemas/digitalobjects/digital-specimen/0.3.0/digital-specimen.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Digital Specimen Version 0.3.0",
"title": "DigitalSpecimen",
"type": "object",
"properties": {
"@id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$id": "https://schemas.dissco.tech/schemas/fdo-type/digital-specimen/0.3.0/event.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Event Version 0.3.0",
"title": "Event",
"type": "object",
"properties": {
"@id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$id": "https://schemas.dissco.tech/schemas/fdo-type/digital-specimen/0.3.0/identification.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Identification object Version 0.3.0",
"title": "Identification",
"type": "object",
"properties": {
"@id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$id": "https://schemas.dissco.tech/schemas/fdo-type/digital-specimen/0.3.0/location.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Location Version 0.3.0",
"title": "Location",
"type": "object",
"properties": {
"@id": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"$id": "https://schemas.dissco.tech/schemas/fdo-type/digital-specimen/0.3.0/material-entity.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"$comment": "Material Entity Version 0.3.0, only if the part did not get a separate catalogue number, otherwise it will be a separate digital specimen itself",
"title": "MaterialEntity",
"type": "object",
"properties": {
"@id": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"$id": "https://schemas.dissco.tech/schemas/fdo-type/machine-annotation-service/0.3.0/mas.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Machine Annotation Service Version 0.3.0",
"title": "MachineAnnotationService",
"type": "object",
"description": "Automated annotation services that enhance biodiversity data",
"$comment": "Machine Annotation Service Version 0.3.0",
"properties": {
"@id": {
"type": "string",
Expand Down
1 change: 1 addition & 0 deletions data-model/fdo-type/shared-model/0.3.0/schema/agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$id": "https://schemas.dissco.tech/schemas/fdo-type/shared-model/0.3.0/agent.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Agent object Version 0.3.0",
"title": "Agent",
"type": "object",
"properties": {
"@id": {
Expand Down
5 changes: 3 additions & 2 deletions data-model/fdo-type/shared-model/0.3.0/schema/assertion.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"$id": "https://schemas.dissco.tech/schemas/fdo-type/shared-model/0.3.0/assertion.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Assertion Version 0.3.0",
"title": "Assertion",
"type": "object",
"$comment": "Annotation Version 0.3.0",
"properties": {
"@id": {
"type": "string",
"description": "The identifier for the Annotation object."
"description": "The identifier for the Assertion object."
},
"@type": {
"type": "string",
Expand Down
3 changes: 2 additions & 1 deletion data-model/fdo-type/shared-model/0.3.0/schema/citation.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"$id": "https://schemas.dissco.tech/schemas/fdo-type/shared-model/0.3.0/citation.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Based on https://rs.gbif.org/extension/gbif/1.0/references.xml but includes ods specific terms",
"$comment": "Citation object Version 0.3.0",
"title": "Citation",
"type": "object",
"description": "Based on https://rs.gbif.org/extension/gbif/1.0/references.xml but includes ods specific terms",
"properties": {
"@id": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"$id": "https://schemas.dissco.tech/schemas/fdo-type/shared-model/0.3.0/emtity-relationship.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Based on https://rs.gbif.org/extension/resource_relationship_2024-02-19.xml but with ods specific terms",
"$comment": "Entity Relationship object Version 0.3.0",
"title": "EntityRelationship",
"type": "object",
"description": "Based on https://rs.gbif.org/extension/resource_relationship_2024-02-19.xml but with ods specific terms",
"properties": {
"@id": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"$id": "https://schemas.dissco.tech/schemas/fdo-type/shared-model/0.3.0/identifier.json",
"description": "Based on https://rs.gbif.org/extension/gbif/1.0/identifier.xml but includes ods specific terms",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Identifier object Version 0.3.0",
"title": "Identifier",
"type": "object",
"description": "Based on https://rs.gbif.org/extension/gbif/1.0/identifier.xml but includes ods specific terms",
"properties": {
"@id": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$id": "https://schemas.dissco.tech/schemas/fdo-type/source-system/0.3.0/source-system.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Source System Version 0.3.0",
"title": "SourceSystem",
"type": "object",
"properties": {
"@id": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"$id": "https://schemas.dissco.tech/schemas/fdo-type/tettris-service/0.1.0/tettris-service.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"$comment": "https://docs.google.com/document/d/1jbeVkUgoKXEmXKGlaHfJVxNRBk_aNBMSNdgPzLSqjGc/edit?usp=sharing",
"title": "TaxonomicService",
"type": "object",
"properties": {
"title": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"$id": "https://schemas.dissco.tech/schemas/fdo-type/virtualcollection/0.1.0/virtualcollection.json",
"$id": "https://schemas.dissco.tech/schemas/fdo-type/virtualcollection/0.1.0/virtualcollection.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "DigitalObject Version 0.1.0",
"title": "VirtualCollection",
"type": "object",
"properties": {
"ods:id": {
Expand Down Expand Up @@ -133,22 +134,35 @@
},
"description": "Value or configuration of the filter.",
"examples": [
["Netherlands", "Belgium"],
["1"]
[
"Netherlands",
"Belgium"
],
[
"1"
]
]
}
},
"required": ["filterKey", "filterValue"]
"required": [
"filterKey",
"filterValue"
]
},
"examples": [
[
{
"filterKey": "country",
"filterValue": ["Netherlands", "Belgium"]
"filterValue": [
"Netherlands",
"Belgium"
]
},
{
"filterKey": "midsLevel",
"filterValue": ["1"]
"filterValue": [
"1"
]
}
]
]
Expand All @@ -167,4 +181,4 @@
"ltc:ObjectGroup"
],
"additionalProperties": false
}
}

0 comments on commit 61e8e8b

Please sign in to comment.