Category:OSW1b15ddcf042c4599bd9d431cbfdf3430
(Update package: OSW Core) |
(Update package: OSW Core) |
||
| jsondata | |||
|---|---|---|---|
| Line 1: | Line 1: | ||
{ | { | ||
"type": [ | |||
"Category:Category" | |||
], | |||
"subclass_of": [ | |||
"Category:QuantityProperty" | |||
], | |||
"uuid": "1b15ddcf-042c-4599-bd9d-431cbfdf3430", | |||
"label": [ | |||
{ | |||
"text": "Main Quantity Property", | |||
"lang": "en" | |||
}, | |||
{ | |||
"text": "Hauptgrößenattribut", | |||
"lang": "de" | |||
} | |||
], | |||
"description": [ | |||
{ | |||
"text": "Defines valid units for itself and all of its subquantities", | |||
"lang": "en" | |||
}, | |||
{ | |||
"text": "Definiert gültige Einheiten für sich selbst und alle seine Untergrößen.", | |||
"lang": "de" | |||
} | |||
], | |||
"name": "MainQuantityProperty" | |||
} | } | ||
| jsonschema | |||
| Line 1: | Line 1: | ||
{ | { | ||
"@context": [ | |||
{ | |||
"main_unit": { | |||
"@id": "Property:HasMainUnit", | |||
"@type": "@id" | |||
}, | |||
"main_unit*": "Property:HasDisplayUnit", | |||
"main_unit**": "Property:HasInputUnit", | |||
"additional_units": { | |||
"@id": "Property:HasUnit", | |||
"@type": "@id" | |||
}, | |||
"additional_units*": "Property:HasDisplayUnit", | |||
"additional_units**": "Property:HasInputUnit", | |||
"main_symbol": "Property:HasMainUnitSymbol", | |||
"alternative_symbols": "Property:HasUnitSymbol", | |||
"codes": { | |||
"@id": "Property:HasUnitCode" | |||
}, | |||
"conversion_factor_to_main_unit": "Property:HasConversionFactor", | |||
"proportional_to": { | |||
"@id": "Property:IsProportionalTo", | |||
"@type": "@id" | |||
}, | |||
"inverse_proportional_to": { | |||
"@id": "Property:IsInverseProportionalTo", | |||
"@type": "@id" | |||
} | |||
}, | |||
"/wiki/Category:QuantityProperty?action=raw\u0026slot=jsonschema" | |||
], | |||
"allOf": [ | |||
{ | |||
"$ref": "/wiki/Category:QuantityProperty?action=raw\u0026slot=jsonschema" | |||
} | |||
], | |||
"type": "object", | |||
"uuid": "1b15ddcf-042c-4599-bd9d-431cbfdf3430", | |||
"title": "MainQuantityProperty", | |||
"title*": { | |||
"en": "Main Quantity Property", | |||
"de": "Hauptgrößenattribut" | |||
}, | |||
"description": "Defines valid units for itself and all of its subquantities", | |||
"description*": { | |||
"en": "Defines valid units for itself and all of its subquantities", | |||
"de": "Definiert gültige Einheiten für sich selbst und alle seine Untergrößen." | |||
}, | |||
"required": [ | |||
"type" | |||
], | |||
"defaultProperties": [ | |||
"main_unit", | |||
"additional_units" | |||
], | |||
"properties": { | |||
"main_unit": { | |||
"title": "Main unit", | |||
"title*": { | |||
"de": "Haupteinheit" | |||
}, | |||
"type": "object", | |||
"options": { | |||
"compact": true | |||
}, | |||
"id": "unit", | |||
"eval_template": { | |||
"type": "mustache-wikitext", | |||
"mode": "render", | |||
"value": "1 {{main_unit.main_symbol}} {{=\u003C% %\u003E=}} {{#set: \u003C%={{ }}=%\u003E |Corresponds to=1 {{main_unit.main_symbol}} {{#main_unit.alternative_symbols}}, {{.}}{{/main_unit.alternative_symbols}} {{=\u003C% %\u003E=}} }} \u003C%={{ }}=%\u003E" | |||
}, | |||
"required": [ | |||
"uuid", | |||
"name", | |||
"main_symbol" | |||
], | |||
"defaultProperties": [ | |||
"main_symbol" | |||
], | |||
"properties": { | |||
"uuid": { | |||
"title": "UUID", | |||
"type": "string", | |||
"format": "uuid", | |||
"options": { | |||
"hidden": true | |||
} | |||
}, | |||
"name": { | |||
"title": "Name", | |||
"description": "Technical / Machine compatible name", | |||
"description*": { | |||
"de": "Technischer / Maschinenkompatibler Name" | |||
}, | |||
"type": "string", | |||
"watch": { | |||
"main_symbol": "unit.main_symbol" | |||
}, | |||
"template": "{{main_symbol}}", | |||
"options": { | |||
"hidden": true | |||
} | |||
}, | |||
"main_symbol": { | |||
"title": "Symbol", | |||
"title*": { | |||
"de": "Symbol" | |||
}, | |||
"type": "string" | |||
}, | |||
"alternative_symbols": { | |||
"title": "Alternative symbols", | |||
"title*": { | |||
"de": "Alternative Symbole" | |||
}, | |||
"type": "array", | |||
"items": { | |||
"title": "Symbol", | |||
"title*": { | |||
"de": "Symbol" | |||
}, | |||
"type": "string" | |||
} | |||
}, | |||
"codes": { | |||
"title": "Unit codes", | |||
"title*": { | |||
"de": "Einheiten Codes" | |||
}, | |||
"description": "e.g. UN/CEFACT Common Code (measurement units), ISO 4217 (currencies)", | |||
"description*": { | |||
"de": "z. B. UN/CEFACT Common Code (Maßeinheiten), ISO 4217 (Währungen)" | |||
}, | |||
"type": "array", | |||
"items": { | |||
"title": "Code", | |||
"title*": { | |||
"de": "Code" | |||
}, | |||
"type": "string" | |||
} | |||
}, | |||
"use_as_input_unit": { | |||
"type": "boolean", | |||
"format": "checkbox" | |||
}, | |||
"use_as_display_unit": { | |||
"type": "boolean", | |||
"format": "checkbox" | |||
}, | |||
"ontology_iri": { | |||
"title": "Ontology IRI(s)", | |||
"title*": { | |||
"de": "Ontologie-IRI(s)" | |||
}, | |||
"description": "e. g. from https://www.qudt.org/doc/DOC_VOCAB-UNITS.html", | |||
"type": "array", | |||
"items": { | |||
"title": "IRI", | |||
"type": "string", | |||
"format": "url" | |||
} | |||
} | |||
} | |||
}, | |||
"additional_units": { | |||
"title": "Units", | |||
"title*": { | |||
"de": "Einheiten" | |||
}, | |||
"type": "array", | |||
"format": "tabs", | |||
"options": { | |||
"dependencies": { | |||
"subproperty_of": "" | |||
} | |||
}, | |||
"eval_template_": { | |||
"type": "mustache-wikitext", | |||
"mode": "render", | |||
"value": "{{#units}} {{conversion_factor_to_main_unit}} {{#unit_symbols}} {{.}}, {{/unit_symbols}} {{=\u003C% %\u003E=}} {{#set: \u003C%={{ }}=%\u003E |Corresponds to={{conversion_factor_to_main_unit}} {{#unit_symbols}} {{.}}, {{/unit_symbols}} {{=\u003C% %\u003E=}} }} \u003C%={{ }}=%\u003E \u003Cbr\u003E {{/units}}" | |||
}, | |||
"eval_template": { | |||
"type": "mustache-wikitext", | |||
"mode": "render", | |||
"value": "{{#additional_units}} \u003Cbr\u003E= {{conversion_factor_to_main_unit}} {{main_symbol}} {{=\u003C% %\u003E=}} {{#set: \u003C%={{ }}=%\u003E |Corresponds to={{conversion_factor_to_main_unit}} {{main_symbol}} {{#alternative_symbols}}, {{.}}{{/alternative_symbols}} {{=\u003C% %\u003E=}} }} \u003C%={{ }}=%\u003E {{/additional_units}}" | |||
}, | |||
"items": { | |||
"allOf": [ | |||
{ | |||
"$ref": "#/properties/main_unit" | |||
} | |||
], | |||
"title": "Unit", | |||
"title*": { | |||
"de": "Einheit" | |||
}, | |||
"headerTemplate": "{{self.main_symbol}}", | |||
"defaultProperties": [ | |||
"conversion_factor_to_main_unit" | |||
], | |||
"properties": { | |||
"conversion_factor_to_main_unit": { | |||
"type": "string", | |||
"format": "number" | |||
} | |||
} | |||
} | |||
}, | |||
"proportional_to": { | |||
"title": "Proportional to", | |||
"title*": { | |||
"de": "Proportional zu" | |||
}, | |||
"description": "Related quantity which units are in the numerator of the units of this quantity", | |||
"description*": { | |||
"de": "Verwandte Größe deren Einheiten im Zähler der Einheiten dieser Größe stehen " | |||
}, | |||
"type": "array", | |||
"items": { | |||
"title": "Quantity", | |||
"title*": "Größe*", | |||
"type": "string", | |||
"format": "autocomplete", | |||
"options": { | |||
"autocomplete": { | |||
"category": "Category:OSW1b15ddcf042c4599bd9d431cbfdf3430" | |||
} | |||
} | |||
}, | |||
"eval_template": { | |||
"type": "mustache-wikitext", | |||
"mode": "render", | |||
"value": "{{#proportional_to}} \u003Cbr\u003E [[{{{.}}}]] {{/proportional_to}}" | |||
} | |||
}, | |||
"inverse_proportional_to": { | |||
"title": "Inverse proportional to", | |||
"title*": { | |||
"de": "Invers proportional zu" | |||
}, | |||
"description": "Related quantity which units are in the denominator of the units of this quantity", | |||
"description*": { | |||
"de": "Verwandte Größe deren Einheiten im Nenner der Einheiten dieser Größe stehen " | |||
}, | |||
"type": "array", | |||
"items": { | |||
"title": "Quantity", | |||
"title*": "Größe*", | |||
"type": "string", | |||
"format": "autocomplete", | |||
"options": { | |||
"autocomplete": { | |||
"category": "Category:OSW1b15ddcf042c4599bd9d431cbfdf3430" | |||
} | |||
} | |||
}, | |||
"eval_template": { | |||
"type": "mustache-wikitext", | |||
"mode": "render", | |||
"value": "{{#inverse_proportional_to}} \u003Cbr\u003E [[{{{.}}}]] {{/inverse_proportional_to}}" | |||
} | |||
}, | |||
"type": { | |||
"default": [ | |||
"Category:OSW1b15ddcf042c4599bd9d431cbfdf3430" | |||
] | |||
} | |||
} | |||
} | } | ||
| header_template | |||
| Line 7: | Line 7: | ||
<th>{{{_label_units|Units}}}</th> | <th>{{{_label_units|Units}}}</th> | ||
<td>{{{main_unit|}}}{{{additional_units|}}}</td> | <td>{{{main_unit|}}}{{{additional_units|}}}</td> | ||
</tr> | |||
|<!-- else show nothing -->}} | |||
{{#if: {{{proportional_to|}}} | <!-- if units is not empty, show --> | |||
<tr> | |||
<th>{{{_label_proportional_to|Proportional to}}}</th> | |||
<td>{{{proportional_to|}}}</td> | |||
</tr> | |||
|<!-- else show nothing -->}} | |||
{{#if: {{{inverse_proportional_to|}}} | <!-- if units is not empty, show --> | |||
<tr> | |||
<th>{{{_label_inverse_proportional_to|Inverse proportional to}}}</th> | |||
<td>{{{inverse_proportional_to|}}}</td> | |||
</tr> | </tr> | ||
|<!-- else show nothing -->}} | |<!-- else show nothing -->}} | ||
Revision as of 04:40, 8 January 2026
| Main Quantity Property ID: OSW1b15ddcf042c4599bd9d431cbfdf3430 | UUID: 1b15ddcf-042c-4599-bd9d-431cbfdf3430 | 📦: world.opensemantic.core | |
|---|---|
| ID | OSW1b15ddcf042c4599bd9d431cbfdf3430 |
| UUID | 1b15ddcf-042c-4599-bd9d-431cbfdf3430 |
| Label | Main Quantity Property |
| Machine compatible name | MainQuantityProperty |
| Types/Categories | Category (Class) |
| Statements (outgoing) | |
| Statements (incoming) | |
|
|
|
| Details | |
Description[edit source]
jsondata
| type |
| ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| subclass_of |
| ||||||||||
| uuid | "1b15ddcf-042c-4599-bd9d-431cbfdf3430" | ||||||||||
| label |
| ||||||||||
| description |
| ||||||||||
| name | "MainQuantityProperty" |
jsonschema
| @context |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| allOf |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type | "object" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| uuid | "1b15ddcf-042c-4599-bd9d-431cbfdf3430" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| title | "MainQuantityProperty" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| title* |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description | "Defines valid units for itself and all of its subquantities" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description* |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| required |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| defaultProperties |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| properties |
|
Pages in category "OSW1b15ddcf042c4599bd9d431cbfdf3430"
The following 9 pages are in this category, out of 9 total.