Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"properties": {
"type": "object",
"description": "A dictionary, where each key is a property ID and each value is an object defining the property.",
"description": "A dictionary, where each key is a property ID and each value is an object defining the property. Property IDs may contain only alphanumeric and underscore characters.",
"minProperties": 1,
"additionalProperties": {
"$ref": "class.property.schema.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
"type": "object",
"description": "Features conforming to a class, organized as property values stored in columnar arrays.",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "The name of the property, e.g. for display purposes."
},
"class": {
"type": "string",
"description": "The class that property values conform to. The value must be a class ID declared in the `classes` dictionary."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"properties": {
"index": { },
"texCoord": { },
"name": {
"type": "string",
"minLength": 1,
"description": "The name of the property, e.g. for display purposes."
},
"class": {
"type": "string",
"description": "The class this property texture conforms to. The value must be a class ID declared in the `classes` dictionary."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
},
"classes": {
"type": "object",
"description": "A dictionary, where each key is a class ID and each value is an object defining the class.",
"description": "A dictionary, where each key is a class ID and each value is an object defining the class. Class IDs may contain only alphanumeric and underscore characters.",
"minProperties": 1,
"additionalProperties": {
"$ref": "class.schema.json"
}
},
"enums": {
"type": "object",
"description": "A dictionary, where each key is an enum ID and each value is an object defining the values for the enum.",
"description": "A dictionary, where each key is an enum ID and each value is an object defining the values for the enum. Enum IDs may contain only alphanumeric and underscore characters.",
"minProperties": 1,
"additionalProperties": {
"$ref": "enum.schema.json"
Expand Down