Skip to content

Commit

Permalink
records: update json schema to include container images
Browse files Browse the repository at this point in the history
  • Loading branch information
nancyhamdan committed Jul 11, 2023
1 parent 24cf794 commit af48c9e
Showing 1 changed file with 81 additions and 46 deletions.
127 changes: 81 additions & 46 deletions cernopendata/jsonschemas/records/record-v1.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@
"description": "The affiliation of the author. Multiple affiliations are separated by a semicolon (;)",
"type": "string"
},
"rorid": {
"description": "The ROR ID for the author's affiliation. Multiple ROR IDs are separated by a semicolon (;)",
"type": "string"
},
"ccid": {
"description": "The author's CCID",
"type": "string"
Expand All @@ -91,12 +87,16 @@
"description": "The author's INSPIRE ID",
"type": "string"
},
"name": {
"description": "The name of the author",
"type": "string"
},
"orcid": {
"description": "The author's ORCID iD",
"type": "string"
},
"name": {
"description": "The name of the author",
"rorid": {
"description": "The ROR ID for the author's affiliation. Multiple ROR IDs are separated by a semicolon (;)",
"type": "string"
}
},
Expand Down Expand Up @@ -204,8 +204,11 @@
"properties": {
"availability": {
"description": "Specifies if dataset is on-demand, online in future might be also tape, disk",
"type": "string",
"enum": ["ondemand", "online"]
"enum": [
"ondemand",
"online"
],
"type": "string"
},
"formats": {
"items": {
Expand Down Expand Up @@ -295,6 +298,30 @@
"description": "A description of the methodology used for the production of this data/software",
"type": "string"
},
"links": {
"items": {
"properties": {
"description": {
"description": "A brief description of the link associated with the methodology",
"type": "string"
},
"recid": {
"description": "If the link is to another CERN Open Data portal record, the record ID of that record",
"type": "string"
},
"title": {
"description": "The title for the link",
"type": "string"
},
"url": {
"description": "The URL for the link associated with this record (for an external URL)",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"steps": {
"items": [
{
Expand All @@ -303,14 +330,6 @@
"items": [
{
"properties": {
"script": {
"description": "Production script",
"type": "string"
},
"title": {
"description": "Title of the script",
"type": "string"
},
"cms_confdb_id": {
"description": "the cms_confdb_id (applies to CMS records)",
"type": "string"
Expand All @@ -323,6 +342,14 @@
"description": "The internal ID of the related record, if it is another Open Data record",
"type": "string"
},
"script": {
"description": "Production script",
"type": "string"
},
"title": {
"description": "Title of the script",
"type": "string"
},
"url": {
"description": "External link to the configuration file",
"type": "string"
Expand All @@ -346,14 +373,14 @@
"description": "The global tag for generator",
"type": "string"
},
"release": {
"description": "CMS software version used in production",
"type": "string"
},
"output_dataset": {
"description": "Output for production",
"type": "string"
},
"release": {
"description": "CMS software version used in production",
"type": "string"
},
"type": {
"description": "Format of the dataset",
"type": "string"
Expand All @@ -363,30 +390,6 @@
}
],
"type": "array"
},
"links": {
"items": {
"properties": {
"description": {
"description": "A brief description of the link associated with the methodology",
"type": "string"
},
"recid": {
"description": "If the link is to another CERN Open Data portal record, the record ID of that record",
"type": "string"
},
"title": {
"description": "The title for the link",
"type": "string"
},
"url": {
"description": "The URL for the link associated with this record (for an external URL)",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -523,6 +526,30 @@
},
"system_details": {
"properties": {
"container-images": {
"items": {
"properties": {
"description": {
"description": "A brief description of the container image",
"type": "string"
},
"recid": {
"description": "The internal ID of the container image, if it is another Open Data record",
"type": "string"
},
"registry": {
"description": "The type of registry the image can be found at",
"type": "string"
},
"uri": {
"description": "The URI for finding the container image",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"description": {
"type": "string"
},
Expand Down Expand Up @@ -667,6 +694,14 @@
"type": "object"
}
},
"type": "object",
"required": ["collections", "date_published", "experiment", "publisher", "recid", "title", "type"]
"required": [
"collections",
"date_published",
"experiment",
"publisher",
"recid",
"title",
"type"
],
"type": "object"
}

0 comments on commit af48c9e

Please sign in to comment.