{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://raw.githubusercontent.com/fairtracks/fairtracks_standard/v1/current/json/schema/fairtracks.schema.json", "$version_url": "https://raw.githubusercontent.com/fairtracks/fairtracks_standard/v1/1.0.2/json/schema/fairtracks.schema.json", "$comment": "JSON signature: ab918721a506857f5b81622763c4cc973ba48ce14ec374063926d80b18e3d671", "title": "FAIRtracks", "type": "object", "properties": { "@schema": { "title": "Schema URL", "description": "The absolute URL of the 'current' version of the relevant FAIRtracks JSON schema within the same major version as the JSON document follows (which should ensure compatibility). Must match the value of '$id' in the linked schema", "type": "string", "format": "uri", "pattern": "^(https?|ftp)://", "const": "https://raw.githubusercontent.com/fairtracks/fairtracks_standard/v1/current/json/schema/fairtracks.schema.json" }, "doc_info": { "title": "Document info", "description": "Version and related information about the current FAIRtracks JSON document", "type": "object", "properties": { "local_id": { "title": "Local ID", "description": "Identifier for this FAIRtracks JSON document (within the TrackFind database)", "type": "string", "examples": [ "0" ], "unique": true, "autogenerated": true }, "doc_url": { "title": "Document URL", "description": "URL to this FAIRtracks JSON document", "type": "string", "format": "uri", "pattern": "^(https?|ftp)://", "examples": [ "https://raw.githubusercontent.com/fairtracks/fairtracks_standard/v1/1.0.2/json/examples/fairtracks.example.json" ], "autogenerated": true }, "doc_ontology_versions": { "title": "Version URLs to Ontologies used", "description": "URLs to the version of the ontologies used in the JSON document", "type": "object", "properties": { "http://edamontology.org/EDAM.owl": { "title": "Version URL to \"EDAM Ontology\"", "description": "URL to the version of \"Bioinformatics operations, data types, formats, identifiers and topics\" (EDAM Ontology) used in the JSON document", "type": "string", "format": "uri", "pattern": "^http://edamontology.org/EDAM_[0-9]+\\.[0-9]+.owl$", "examples": [ "http://edamontology.org/EDAM_1.21.owl" ], "autogenerated": true }, "http://purl.obolibrary.org/obo/cl.owl": { "title": "Version URL to \"Cell Ontology\"", "description": "URL to the version of \"Cell Ontology\" used in the JSON document", "type": "string", "format": "uri", "pattern": "^http://purl.obolibrary.org/obo/cl/releases/[0-9]+-[0-9]+-[0-9]+/cl.owl$", "examples": [ "http://purl.obolibrary.org/obo/cl/releases/2019-08-12/cl.owl" ], "autogenerated": true }, "http://www.ebi.ac.uk/efo/efo.owl": { "title": "Version URL to \"Experimental Factor Ontology\"", "description": "URL to the version of \"Experimental Factor Ontology\" used in the JSON document", "type": "string", "format": "uri", "pattern": "^https://github.com/EBISPOT/efo/releases/download/v[0-9]+.[0-9]+.[0-9]+/efo.owl$", "examples": [ "https://github.com/EBISPOT/efo/releases/download/v3.12.0/efo.owl" ], "autogenerated": true }, "http://purl.obolibrary.org/obo/ncit.owl": { "title": "Version URL to \"NCI Thesaurus OBO EDITION\"", "description": "URL to the version of \"NCI Thesaurus OBO Edition\" used in the JSON document", "type": "string", "format": "uri", "pattern": "^http://purl.obolibrary.org/obo/ncit/releases/[0-9]+-[0-9]+-[0-9]+/ncit.owl$", "examples": [ "http://purl.obolibrary.org/obo/ncit/releases/2019-09-09/ncit.owl" ], "autogenerated": true }, "http://purl.obolibrary.org/obo/obi.owl": { "title": "Version URL to \"Ontology for Biomedical Investigations\"", "description": "URL to the version of \"Ontology for Biomedical Investigations\" used in the JSON document", "type": "string", "format": "uri", "pattern": "^http://purl.obolibrary.org/obo/obi/[0-9]+-[0-9]+-[0-9]+/obi.owl$", "examples": [ "http://purl.obolibrary.org/obo/obi/2019-11-12/obi.owl" ], "autogenerated": true }, "http://purl.obolibrary.org/obo/so.owl": { "title": "Version URL to \"Sequence Ontology\"", "description": "URL to the version of \"Sequence types and features ontology\" used in the JSON document", "type": "string", "format": "uri", "pattern": "^https://raw.githubusercontent.com/The-Sequence-Ontology/SO-Ontologies/v[0-9]+\\.[0-9]+/releases/so-xp.owl/so.owl$", "examples": [ "https://raw.githubusercontent.com/The-Sequence-Ontology/SO-Ontologies/v3.1/releases/so-xp.owl/so.owl" ], "autogenerated": true }, "http://purl.obolibrary.org/obo/uberon.owl": { "title": "Version URL to \"Uberon Ontology\"", "description": "URL to the version of \"Uber-anatomy ontology\" used in the JSON document", "type": "string", "format": "uri", "pattern": "^http://purl.obolibrary.org/obo/uberon/releases/[0-9]+-[0-9]+-[0-9]+/uberon.owl$", "examples": [ "http://purl.obolibrary.org/obo/uberon/releases/2019-06-27/uberon.owl" ], "autogenerated": true } }, "required": [ "http://edamontology.org/EDAM.owl", "http://purl.obolibrary.org/obo/cl.owl", "http://www.ebi.ac.uk/efo/efo.owl", "http://purl.obolibrary.org/obo/ncit.owl", "http://purl.obolibrary.org/obo/obi.owl", "http://purl.obolibrary.org/obo/so.owl", "http://purl.obolibrary.org/obo/uberon.owl" ] }, "doc_version": { "title": "Document Version", "description": "Version of this FAIRtracks JSON document", "type": "string" }, "doc_date": { "title": "Document Creation Date", "description": "Creation date of this version of this FAIRtracks document", "type": "string", "format": "date-time" } }, "required": [ "doc_ontology_versions", "doc_version", "doc_date" ] }, "collection_info": { "title": "Track Collection Info", "description": "General information about the track collection that is annotated in the current FAIRtracks JSON document", "type": "object", "properties": { "source_repo_url": { "title": "Source Repo URL", "description": "URL to the track repository containing the collection (e.g., the Track Hub Registry)", "type": "string", "format": "uri", "pattern": "^(https?|ftp)://", "examples": [ "https://www.encodeproject.org/search" ] }, "local_id": { "title": "Local ID", "description": "Submitter-local identifier (within track repository) for the collection", "type": "string", "examples": [ "encode_example" ], "unique": true, "autogenerated": true }, "doc_ref": { "title": "Document Reference", "description": "Reference to the JSON document containing the study (using the identifier of the document)", "type": "string", "format": "foreign_ref", "examples": [ "0" ], "foreignProperty": "fairtracks.schema.json#doc_info/local_id", "autogenerated": true }, "short_name": { "title": "Name (Short)", "description": "Short name of the track collection. Suggested maximum length is 17 characters", "type": "string", "examples": [ "ENCODE example" ] }, "long_name": { "title": "Name (Long)", "description": "Long name of the track collection. Suggested maximum length is 80 characters", "type": "string", "examples": [ "Example of a few tracks created by from the ENCODE Project" ] }, "description_url": { "title": "Description URL", "description": "URL to a web page or file describing the track collection", "type": "string", "format": "uri", "pattern": "^(https?|ftp)://", "examples": [ "https://www.encodeproject.org/help/project-overview/" ] }, "orig_metadata_url": { "title": "Original Metadata URL", "description": "URL to track collection metadata in its original form (might contain more than the relevant metadata)", "type": "string", "format": "uri", "pattern": "^(https?|ftp)://", "examples": [ "https://www.encodeproject.org/search/?format=json" ] }, "contact": { "title": "Contact Information", "description": "Contact information for the track collection", "type": "object", "$ref": "fairtracks_contact.schema.json" } }, "required": [ "source_repo_url", "short_name", "long_name", "contact" ] }, "studies": { "title": "Studies", "description": "Array of JSON documents describing different studies that have produced data for the track collection", "type": "array", "minItems": 1, "items": { "$ref": "fairtracks_study.schema.json" } }, "experiments": { "title": "Experiments", "description": "Array of JSON documents describing the different experiments that have produced data for the track collection", "type": "array", "minItems": 1, "items": { "$ref": "fairtracks_experiment.schema.json" } }, "samples": { "title": "Samples", "description": "Array of JSON documents describing the different samples that have been analyzed to create the track collection", "type": "array", "minItems": 1, "items": { "$ref": "fairtracks_sample.schema.json" } }, "tracks": { "title": "Tracks", "description": "Array of JSON documents describing the different track files in the collection", "type": "array", "minItems": 1, "items": { "$ref": "fairtracks_track.schema.json" } } }, "required": [ "@schema", "doc_info", "collection_info", "studies", "experiments", "samples", "tracks" ], "additionalProperties": true }