{
"type": "object",
"properties": {
"part_ref": {
"type": "string"
},
"spec": {
"type": "object",
"properties": {
"schema": {
"enum": [
"draftwright.spec/1",
"draftwright.spec/2",
"draftwright.spec/3",
"draftwright.spec/4"
]
},
"part": {
"type": [
"string",
"integer",
"null"
]
},
"iso_scale_factor": {
"type": [
"number",
"null"
]
},
"dimension_source": {
"enum": [
"auto",
"authored"
]
},
"pmi": {
"enum": [
"strict",
"first",
"ignore"
]
},
"hole_table": {
"enum": [
"auto",
"always",
"never"
]
},
"units": {
"enum": [
"mm",
"in"
]
}
},
"additionalProperties": false,
"description": "Outline. Call spec_schema {} for the full Spec and get_spec spec_read schemas; item_options gives valid edit paths and choices.",
"patternProperties": {
"^(binding|engine_pins|sheets)$(?!\n)": {
"type": [
"object",
"null"
]
},
"^(sheet|balloons|views|dimensions|annotations|features|faces|dimension_schemes|precision|origin)$(?!\n)": {
"type": "object"
},
"^(process|envelope_tolerance)$(?!\n)": {
"type": [
"string",
"null"
]
},
"^(notes|tables|gears|feature_declarations)$(?!\n)": {
"type": "array"
}
}
},
"spec_version": {
"type": "string"
},
"drawing_ref": {
"type": "string"
},
"region": {
"type": "array",
"items": {
"type": "number"
},
"minItems": 4,
"maxItems": 4
},
"overlay_ids": {
"type": [
"boolean",
"array"
],
"items": {
"type": "string"
}
},
"sheet": {
"enum": [
1,
2,
3,
4,
5,
6,
7,
8,
9
]
},
"dpi": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 400
}
},
"required": [
"part_ref"
],
"additionalProperties": false
}