Semantic MediaWiki and related extensions
Objective

The PROPERTY_GROUP_SCHEMA schema type defines property groups that help structure the browsing interface of a page.

Properties

The structure of this schema is defined by the following properties:

Example

{
    "type": "PROPERTY_GROUP_SCHEMA",
    "groups": {
        "x_group": {
            "canonical_name": "My properties X",
            "message_key": "smw-property-group-label-...",
            "property_keys": [
                "MY_PROPERTY_XA",
                "MY_PROPERTY_XB"
            ]
        },
        "y_group": {
            "canonical_name": "My properties Y",
            "message_key": "smw-property-group-label-...",
            "property_keys": [
                "MY_PROPERTY_Y"
            ]
        }
    },
    "tags": [
        "group",
        "property groups"
    ]
}

Validation schema

The structure of this schema is validated by the following definition file for the schema structure:

/data/schema/property-group-schema.v1.json


About | General disclaimer | Privacy policy