Category:OSW3d238d05316e45a4ac95a11d7b24e36b: Difference between revisions

From OpenSemanticWorld
m
Protected "Location": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]
(Install package: OSW Base)
 
m (Protected "Location": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Namespaces ==
for UUID generation via uuid5


* General (same as UUID of the category page): 3d238d05-316e-45a4-ac95-a11d7b24e36b
* FhG: ac5eecda-acca-513a-8e66-14462b59c5ee
jsondata
Line 1: Line 1:
{
{
    "type": [
"type": [
        "Category:Category"
"Category:Category"
    ],
],
    "subclass_of": [
"subclass_of": [
        "Category:Item"
"Category:Item"
    ],
],
    "uuid": "3d238d05-316e-45a4-ac95-a11d7b24e36b",
"uuid": "3d238d05-316e-45a4-ac95-a11d7b24e36b",
    "name": "Location",
"name": "Location",
    "label": [
"label": [
        {
{
            "text": "Location",
"text": "Location",
            "lang": "en"
"lang": "en"
        },
},
        {
{
            "text": "Oertlichkeit",
"text": "Örtlichkeit",
            "lang": "de"
"lang": "de"
        }
}
    ],
],
    "utf8_icon": [
"description": [
        "📍",
{
        "📌",
"text": "A location. Entities that have a somewhat fixed, physical extension.",
        "🖈"
"lang": "en"
    ]
},
{
"text": "Eine Örtlichkeit. Entitaeten, die eine mehr oder weniger feste, physische Ausdehnung haben.",
"lang": "de"
}
],
"instance_rdf_type": [
"schema:Place"
],
"utf8_icon": [
"📍",
"📌",
"🖈"
]
}
}
jsonschema
Line 1: Line 1:
{
{
    "@context": [
"@context": [
        {
{
            "city": "Property:HasCity",
"gps_coordinates": {
            "country": "Property:HasCountry",
"@id": "schema:geo",
            "gps_coordinates": "Property:HasGpsCoordinates",
"@type": "xsd:string"
            "house_no": "Property:HasHouseNo",
},
            "latitude": "Property:HasLatitude",
"gps_coordinates*": {
            "located_in": "Property:IsLocatedIn",
"@id": "Property:HasGpsCoordinates",
            "longitude": "Property:HasLongitude",
"@type": "xsd:string"
            "postal_address": "Property:HasPostalAddress",
},
            "postal_code": "Property:HasPostalCode",
"latitude": {
            "post_office_box_no": "Property:HasPoBoxNo",
"@id": "schema:latitude",
            "region": "Property:HasRegion",
"@type": "xsd:float"
            "state": "Property:HasState",
},
            "street_name": "Property:HasStreet"
"located_in": {
        },
"@id": "schema:containedInPlace",
        "/wiki/Category:Item?action=raw\u0026slot=jsonschema"
"@type": "@id"
    ],
},
    "title": "Location",
"located_in*": {
    "type": "object",
"@id": "Property:IsLocatedIn",
    "allOf": [
"@type": "@id"
        {
},
            "$ref": "/wiki/Category:Item?action=raw\u0026slot=jsonschema"
"longitude": {
        }
"@id": "schema:longitude",
    ],
"@type": "xsd:float"
    "defaultProperties": [
},
        "uuid",
"longitude*": {
        "label",
"@id": "Property:HasLongitude",
        "gps_coordinates",
"@type": "xsd:float"
        "postal_address"
},
    ],
"postal_address": {
    "properties": {
"@id": "Property:HasPostalAddress",
        "postal_address": {
"@type": "@id",
            "eval_template": {
"@context": [
                "type": "wikitext",
"/wiki/JsonSchema:PostalAddress?action=raw"
                "mode": "render",
]
                "value": "{{{street_name|}}} {{{house_no|}}}, {{{postal_code|}}} {{{city|}}}, {{{country|}}}"
}
            },
},
            "required": [
"/wiki/Category:Item?action=raw\u0026slot=jsonschema"
                "uuid"
],
            ],
"allOf": [
            "defaultProperties": [
{
                "uuid",
"$ref": "/wiki/Category:Item?action=raw\u0026slot=jsonschema"
                "street_name",
}
                "house_no",
],
                "postal_code",
"type": "object",
                "city",
"title": "Location",
                "country"
"uuid": "3d238d05-316e-45a4-ac95-a11d7b24e36b",
            ],
"title*": {
            "properties": {
"en": "Location",
                "uuid": {
"de": "Örtlichkeit"
                    "type": "string",
},
                    "format": "uuid",
"description": "A location. Entities that have a somewhat fixed, physical extension.",
                    "options": {
"description*": {
                        "hidden": true
"de": "Eine Örtlichkeit. Entitaeten, die eine mehr oder weniger feste, physische Ausdehnung haben."
                    }
},
                },
"required": [
                "country": {
"type"
                    "title": "Country",
],
                    "title*": {
"defaultProperties": [
                        "en": "Country",
"label",
                        "de": "Land"
"gps_coordinates",
                    },
"postal_address"
                    "type": "string"
],
                },
"properties": {
                "state": {
"type": {
                    "title": "State",
"default": [
                    "title*": {
"Category:OSW3d238d05316e45a4ac95a11d7b24e36b"
                        "en": "State",
]
                        "de": "Bundesland"
},
                    },
"postal_address": {
                    "type": "string"
"allOf": [
                },
{
                "region": {
"$ref": "/wiki/JsonSchema:PostalAddress?action=raw"
                    "title": "Region",
}
                    "title*": {
]
                        "en": "Region",
},
                        "de": "Region"
"gps_coordinates": {
                    },
"title": "GPS coordinates",
                    "type": "string"
"title*": {
                },
"en": "GPS coordinates",
                "post_office_box_no": {
"de": "GPS Koordinaten"
                    "title": "PO box number",
},
                    "title*": {
"type": "object",
                        "en": "PO box number",
"eval_template": {
                        "de": "Postfach nummer"
"type": "wikitext",
                    },
"value": "{{{latitude|}}}, {{{longitude|}}}"
                    "type": "number"
},
                },
"required": [
                "postal_code": {
"uuid"
                    "title": "Postal code",
],
                    "title*": {
"defaultProperties": [
                        "en": "Postal code",
"uuid",
                        "de": "Postleitzahl"
"latitude",
                    },
"longitude"
                    "type": "string"
],
                },
"properties": {
                "city": {
"uuid": {
                    "title": "City",
"type": "string",
                    "title*": {
"format": "uuid",
                        "en": "City",
"options": {
                        "de": "Stadt"
"hidden": true
                    },
},
                    "type": "string"
"title": "UUID"
                },
},
                "street_name": {
"latitude": {
                    "title": "Street",
"title": "Latitude",
                    "title*": {
"title*": {
                        "en": "Street",
"en": "Latitude",
                        "de": "Straße"
"de": "Breitengrad"
                    },
},
                    "type": "string"
"type": "number",
                },
"description": "Angular measurement ranging from 0 degree at the equator to +90 degree at the North Pole and minus 90 degree at the South Pole.",
                "house_no": {
"description*": {
                    "title": "House number",
"de": "Die Winkelmessung reicht von 0 Grad am Aequator bis +90 Grad am Nordpol und minus 90 Grad am Suedpol."
                    "title*": {
},
                        "en": "House number",
"minimum": -90,
                        "de": "Hausnummer"
"maximum": 90
                    },
},
                    "type": "string"
"longitude": {
                }
"title": "Longitude",
            },
"title*": {
            "title": "Postal address",
"en": "Longitude",
            "title*": {
"de": "Laengengrad"
                "en": "Postal address",
},
                "de": "Postalische Adresse"
"type": "number",
            },
"description": "Angular measurement ranging from 0 degree at the Prime Meridian to +180 degree eastward and minus 180 degree westward.",
            "type": "object",
"description*": {
            "description": ""
"de": "Die Winkelmessung reicht von 0 Grad am Nullmeridian bis +180 Grad im Osten und minus 180 Grad im Westen."
        },
},
        "gps_coordinates": {
"minimum": -180,
            "eval_template": {
"maximum": 180
                "type": "wikitext",
}
                "value": "{{{latitude|}}}, {{{longitude|}}}"
}
            },
}
            "required": [
}
                "uuid"
            ],
            "defaultProperties": [
                "uuid",
                "latitude",
                "longitude"
            ],
            "properties": {
                "uuid": {
                    "type": "string",
                    "format": "uuid",
                    "options": {
                        "hidden": true
                    }
                },
                "latitude": {
                    "title": "Latitude",
                    "title*": {
                        "en": "Latitude",
                        "de": "Breitengrad"
                    },
                    "type": "number",
                    "description": "Angular measurement ranging from 0 degree at the equator to +90 degree at the North Pole and minus 90 degree at the South Pole.",
                    "description*": {
                        "de": "Die Winkelmessung reicht von 0 Grad am Aequator bis +90 Grad am Nordpol und minus 90 Grad am Suedpol."
                    },
                    "default": null,
                    "minimum": -90,
                    "maximum": 90
                },
                "longitude": {
                    "title": "Longitude",
                    "title*": {
                        "en": "Longitude",
                        "de": "Laengengrad"
                    },
                    "type": "number",
                    "description": "Angular measurement ranging from 0 degree at the Prime Meridian to +180 degree eastward and minus 180 degree westward.",
                    "description*": {
                        "de": "Die Winkelmessung reicht von 0 Grad am Nullmeridian bis +180 Grad im Osten und minus 180 Grad im Westen."
                    },
                    "default": null,
                    "minimum": -180,
                    "maximum": 180
                }
            },
            "title": "GPS coordinates",
            "title*": {
                "en": "GPS coordinates",
                "de": "GPS Koordinaten"
            },
            "type": "object"
        },
        "type": {
            "default": [
                "Category:OSW3d238d05316e45a4ac95a11d7b24e36b"
            ]
        }
    },
    "required": [
        "type"
    ],
    "uuid": "3d238d05-316e-45a4-ac95-a11d7b24e36b",
    "title*": {
        "en": "Location",
        "de": "Oertlichkeit"
    },
    "description": "",
    "description*": {}
}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.