Following the convention of DIP-102, a new wordType
will be introduced: property
.
The purpose of the property
word type is to serve as a building block for JSON Schemas. Properties are used as nodes in the property tree that is used to build a node of word type: jsonSchema
.
{
"wordData": {
"wordTypes": ["wordType"],
},
"wordTypeData": {
"slug": "property"
},
...
}
propertyData.type
designates which JSON property type: string
, object
, array
, etc. The subsequent properties will depend on which type it is. Future DIPs will specify further details.
{
"wordData": {
"wordTypes": ["property"],
},
"propertyData": {
"type": "string",
},
...
}