Line 2: |
Line 2: |
| "@context": { | | "@context": { |
| "Property": "https://wiki-dev.open-semantic-lab.org/id/Property-3A", | | "Property": "https://wiki-dev.open-semantic-lab.org/id/Property-3A", |
− | "subject": "Property:HasSubject", | + | "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", |
− | "predicate": "Property:HasProperty", | + | "rdfs": "http://www.w3.org/2000/01/rdf-schema#", |
− | "property": "Property:HasProperty", | + | "subject*": "Property:HasSubject", |
− | "quantity": "Property:HasProperty", | + | "subject": "rdf:subject", |
− | "object": "Property:HasObject", | + | "predicate*": "Property:HasProperty", |
− | "value": "Property:HasObject", | + | "predicate": "rdf:predicate", |
| + | "property*": "Property:HasProperty", |
| + | "property": "rdf:predicate", |
| + | "quantity*": "Property:HasProperty", |
| + | "quantity": "rdf:predicate", |
| + | "object*": "Property:HasObject", |
| + | "object": "rdf:object", |
| + | "value*": "Property:HasObject", |
| + | "value": "rdf:object", |
| "unit": "Property:HasUnit", | | "unit": "Property:HasUnit", |
| "substatements": "Property:HasStatement", | | "substatements": "Property:HasStatement", |
− | "label": "Property:HasLabel" | + | "label*": "Property:HasLabel", |
| + | "label": "rdfs:label" |
| }, | | }, |
− | "common_definitions": {},
| |
| "type": "object", | | "type": "object", |
| "format": "grid-strict", | | "format": "grid-strict", |
Line 18: |
Line 26: |
| "headerTemplate": "... {{#if self.predicate}}{{self.predicate}}{{/if}}{{#if self.property}}{{self.property}}{{/if}}{{#if self.quantity}}{{self.quantity}}{{/if}} ...", | | "headerTemplate": "... {{#if self.predicate}}{{self.predicate}}{{/if}}{{#if self.property}}{{self.property}}{{/if}}{{#if self.quantity}}{{self.quantity}}{{/if}} ...", |
| "required": [ | | "required": [ |
− | "uuid" | + | "uuid", |
| + | "rdf_type" |
| ], | | ], |
| "options": { | | "options": { |
Line 24: |
Line 33: |
| }, | | }, |
| "properties": { | | "properties": { |
| + | "rdf_type": { |
| + | "default": "rdf:Statement", |
| + | "options": { |
| + | "hidden": true |
| + | } |
| + | }, |
| "uuid": { | | "uuid": { |
| "title": "UUID", | | "title": "UUID", |
Line 75: |
Line 90: |
| "type": "array", | | "type": "array", |
| "format": "tabs", | | "format": "tabs", |
− | "propertyOrder": 1010, | + | "propertyOrder": 3010, |
| "items": { | | "items": { |
| "$ref": "#" | | "$ref": "#" |
Line 86: |
Line 101: |
| "oneOf": [ | | "oneOf": [ |
| { | | { |
− | "$ref": "#/common_definitions",
| |
| "title": "Object Statement", | | "title": "Object Statement", |
| "required": [ | | "required": [ |
Line 126: |
Line 140: |
| }, | | }, |
| { | | { |
− | "$ref": "#/common_definitions",
| |
| "title": "Data Statement", | | "title": "Data Statement", |
| "title*": { | | "title*": { |
Line 164: |
Line 177: |
| }, | | }, |
| { | | { |
− | "$ref": "#/common_definitions",
| |
| "title": "Quantity Statement", | | "title": "Quantity Statement", |
| "title*": { | | "title*": { |
Line 210: |
Line 222: |
| "de": "Einheit" | | "de": "Einheit" |
| }, | | }, |
| + | "propertyOrder": 1010, |
| "watch": { | | "watch": { |
| "quantity": "statement.quantity", | | "quantity": "statement.quantity", |