Special property "Schema type"

From semantic-mediawiki.org
Schema type
Holds the type of a schema what was added to namespace "smw/schema"
Further Information
Provided by: extension "Semantic MediaWiki "Allows to store and query data annotated to pages
Added: 3.0.0
Removed: still in use
Alias: has no alias
Optional: no
Visible: yes
Annotable: no
Declarative: no
Key:
_SCHEMA_TYPE
Setting: not specified
Focus: not specified
In this wiki: Property:Schema type

The Schema tag property is a special property in Semantic MediaWiki with a built-in meaning: it holds the type of a schema what was added to namespace "smw/schema".

It was introduced starting with Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x.1 and is enabled by default.

See the list of schema types for schema types that are available for usage.

Example[edit]

The schema type is added by a user as a value to the name "type" in the schema in JSON format in namespace "smw/schema". It is then stored with this special property.

{
    "type": "PROPERTY_GROUP_SCHEMA",
    "description": "This property group schema ...",
    ...
    "tags": [
        "property group"
    ]
}

This means that "PROPERTY_GROUP_SCHEMA" will be stored with this special property.

See also[edit]


References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:3019