Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

records: update json schema to include container images #3391

Merged
merged 1 commit into from
Aug 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "Description of the container image that is recommended for analysing these data",
"type": "string"
},
"recid": {
"description": "Record ID of the container image (if it exists as another Open Data record)",
"type": "string"
},
"registry": {
"description": "Registry type where the image can be found (e.g. dockerhub, gitlab)",
"type": "string"
},
"name": {
"description": "Fully Qualified Image Name (FQIN) where the container image is located (repository/name:tag)",
"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"
}
Loading