262
edits
No edit summary Tag: Metadata slot edit |
(Update package: OSW Ontology) Tag: Manual revert |
||
| (8 intermediate revisions by 2 users not shown) | |||
| jsonschema | |||
|---|---|---|---|
| Line 1: | Line 1: | ||
{ | { | ||
"@context": [ | "@context": [ | ||
"/wiki/Category:Category?action=raw\u0026slot=jsonschema" | "/wiki/Category:Category?action=raw\u0026slot=jsonschema", | ||
{ | |||
"owl": "http://www.w3.org/2002/07/owl#", | |||
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", | |||
"rdfs": "http://www.w3.org/2000/01/rdf-schema#", | |||
"xsd": "http://www.w3.org/2001/XMLSchema#", | |||
"skos": "http://www.w3.org/2004/02/skos/core#", | |||
"dc": "http://purl.org/dc/terms/", | |||
"uri": { | |||
"@id": "@id" | |||
}, | |||
"rdf_type": { | |||
"@id": "@type" | |||
}, | |||
"label": { | |||
"@id": "rdfs:label" | |||
}, | |||
"altLabel": { | |||
"@id": "skos:altLabel" | |||
}, | |||
"text": { | |||
"@id": "@value" | |||
}, | |||
"lang": { | |||
"@id": "@language" | |||
}, | |||
"subClassOf": { | |||
"@id": "rdfs:subClassOf", | |||
"@type": "@id" | |||
}, | |||
"source": "dc:source", | |||
"disjointUnionOf": "owl:disjointUnionOf", | |||
"disjointWith": "owl:disjointWith", | |||
"equivalentClass": "owl:equivalentClass", | |||
"unionOf": { | |||
"@id": "owl:unionOf", | |||
"@container": "@list", | |||
"@type": "@id" | |||
}, | |||
"comment": "rdfs:comment", | |||
"isDefinedBy": "rdfs:isDefinedBy", | |||
"seeAlso": "rdfs:seeAlso", | |||
"has_energy_output": "http://openenergy-platform.org/ontology/oeo/OEO_00010235", | |||
"has_energy_input": "http://openenergy-platform.org/ontology/oeo/OEO_00010234", | |||
"has_part": "http://purl.obolibrary.org/obo/BFO_0000051", | |||
"has_participant": "http://purl.obolibrary.org/obo/RO_0000057", | |||
"has_physical_input": "http://openenergy-platform.org/ontology/oeo/OEO_00000532", | |||
"has_physical_output": "http://openenergy-platform.org/ontology/oeo/OEO_00000533", | |||
"has_energy_output*": { | |||
"@id": "Property:has_energy_output", | |||
"@type": "@id" | |||
}, | |||
"has_energy_input*": { | |||
"@id": "Property:has_energy_input", | |||
"@type": "@id" | |||
}, | |||
"has_part*": { | |||
"@id": "Property:has_part", | |||
"@type": "@id" | |||
}, | |||
"has_participant*": { | |||
"@id": "Property:has_participant", | |||
"@type": "@id" | |||
}, | |||
"has_physical_input*": { | |||
"@id": "Property:has_physical_input", | |||
"@type": "@id" | |||
}, | |||
"has_physical_output*": { | |||
"@id": "Property:has_physical_output", | |||
"@type": "@id" | |||
} | |||
} | |||
], | ], | ||
"allOf": [ | "allOf": [ | ||
| Line 19: | Line 91: | ||
}, | }, | ||
"required": [ | "required": [ | ||
"type" | "type", | ||
"metaclass" | |||
], | ], | ||
"properties": { | "properties": { | ||
| Line 26: | Line 99: | ||
"Category:OSW9deb690d6ebb4eaaa1ca5a24c2f32cad" | "Category:OSW9deb690d6ebb4eaaa1ca5a24c2f32cad" | ||
] | ] | ||
}, | |||
"metaclass": { | |||
"default": [ | |||
"Category:OSW9deb690d6ebb4eaaa1ca5a24c2f32cad" | |||
] | |||
}, | |||
"uri": { | |||
"type": "string", | |||
"title": "URI" | |||
}, | |||
"subclass_of": { | |||
"type": "array", | |||
"title": "Superclass", | |||
"items": { | |||
"type": "string", | |||
"title": "Superclass", | |||
"format": "autocomplete", | |||
"options": { | |||
"autocomplete": { | |||
"query": "[[HasType::Category:OSW9deb690d6ebb4eaaa1ca5a24c2f32cad]][[Display_title_of::like:*{{{_user_input}}}*]]|?Display_title_of=label|?Equivalent_URI=uri|?HasDescription=description|limit=1000" | |||
} | |||
} | |||
} | |||
}, | |||
"has_energy_input": { | |||
"type": "string", | |||
"title": "Energy input", | |||
"format": "autocomplete", | |||
"options": { | |||
"autocomplete": { | |||
"query": "[[HasType::Category:OSW9deb690d6ebb4eaaa1ca5a24c2f32cad]][[Display_title_of::like:*{{{_user_input}}}*]]|?Display_title_of=label|?Equivalent_URI=uri|?HasDescription=description|limit=1000" | |||
} | |||
} | |||
}, | |||
"has_energy_output": { | |||
"type": "string", | |||
"title": "Energy input", | |||
"format": "autocomplete", | |||
"options": { | |||
"autocomplete": { | |||
"query": "[[HasType::Category:OSW9deb690d6ebb4eaaa1ca5a24c2f32cad]][[Display_title_of::like:*{{{_user_input}}}*]]|?Display_title_of=label|?Equivalent_URI=uri|?HasDescription=description|limit=1000" | |||
} | |||
} | |||
} | } | ||
} | } | ||
} | } | ||