-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
propertyAttribute.schema.json
36 lines (36 loc) · 1.32 KB
/
propertyAttribute.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "propertyAttribute.schema.json",
"title": "Property Attribute in EXT_structural_metadata",
"type": "object",
"description": "Properties conforming to a class, organized as property values stored in attributes.",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "The name of the property attribute, 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."
},
"properties": {
"type": "object",
"description": "A dictionary, where each key corresponds to a property ID in the class' `properties` dictionary and each value is an object describing where property values are stored. Required properties must be included in this dictionary.",
"minProperties": 1,
"additionalProperties": {
"$ref": "propertyAttribute.property.schema.json"
}
},
"extensions": {},
"extras": {}
},
"required": [
"class"
]
}