Skip to content
Snippets Groups Projects
Commit 9df437db authored by Florian Fischer's avatar Florian Fischer :turtle:
Browse files

adds indent

parent f9ec5777
No related merge requests found
......@@ -5,44 +5,29 @@ Hier ist ein tolles Schema ...
.. code-block:: JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "JSON schema quality control lotsize 1",
"type": "object",
"properties": {
"$version": {
"type": "string"
},
"quality_control_info": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "JSON schema quality control lotsize 1",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"cad_model": {
"$version": {
"type": "string"
},
"manufacturing_profile": {
"quality_control_info": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"material": {
"cad_model": {
"type": "string"
},
"manufacturing_profile": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"vendor": {
"type": "string"
},
"weight": {
"type": "string"
},
"material_kind": {
"material": {
"type": "object",
"properties": {
"id": {
......@@ -51,122 +36,96 @@ Hier ist ein tolles Schema ...
"name": {
"type": "string"
},
"processing_temp": {
"type": "number"
"vendor": {
"type": "string"
},
"weight": {
"type": "string"
},
"material_kind": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"processing_temp": {
"type": "number"
}
},
"required": [
"id",
"name",
"processing_temp"
]
}
},
"required": [
"id",
"name",
"processing_temp"
"vendor",
"weight",
"material_kind"
]
}
},
"required": [
"id",
"name",
"vendor",
"weight",
"material_kind"
]
},
"layer_height": {
"type": "number"
},
"scale_settings": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"layer_height": {
"type": "number"
},
"id": {
"type": "string"
}
},
"required": [
"x",
"y",
"z",
"id"
]
},
"nozzle_diameter": {
"type": "number"
}
},
"required": [
"id",
"material",
"layer_height",
"scale_settings",
"nozzle_diameter"
]
},
"customization": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"content": {
"type": "string"
},
"position": {
"type": "array",
"items": {
"type": "number"
}
},
"customization_kind": {
"scale_settings": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
},
"id": {
"type": "string"
}
}
},
"required": [
"id",
"name"
"x",
"y",
"z",
"id"
]
}
},
"nozzle_diameter": {
"type": "number"
}
},
"required": [
"id",
"content",
"position",
"customization_kind"
"id",
"material",
"layer_height",
"scale_settings",
"nozzle_diameter"
]
}
},
"scan": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"data": {
"type": "string"
},
"scan_profile": {
"customization": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"unit": {
"content": {
"type": "string"
},
"position": {
"type": "array",
"items": {
"type": "number"
}
},
"customization_kind": {
"type": "object",
"properties": {
"id": {
......@@ -174,120 +133,161 @@ Hier ist ein tolles Schema ...
},
"name": {
"type": "string"
},
"factor_to_m": {
"type": "number"
}
},
"required": [
"id",
"name",
"factor_to_m"
"name"
]
}
},
"model": {
"type": "string"
},
"vendor": {
"required": [
"id",
"content",
"position",
"customization_kind"
]
}
},
"scan": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"model_no": {
"data": {
"type": "string"
},
"file_type": {
"scan_profile": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"unit": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"factor_to_m": {
"type": "number"
}
},
"required": [
"id",
"name",
"factor_to_m"
]
},
"model": {
"type": "string"
},
"vendor": {
"type": "string"
},
"model_no": {
"type": "string"
},
"file_type": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
]
}
},
"required": [
"id",
"name"
"unit",
"model",
"vendor",
"model_no",
"file_type"
]
}
},
"required": [
"id",
"unit",
"model",
"vendor",
"model_no",
"file_type"
"data",
"scan_profile"
]
}
},
"required": [
"id",
"data",
"scan_profile"
]
}
},
"requirements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"tolerance": {
"type": "number"
},
"requirement_type": {
"requirements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"position": {
"type": "array",
"items": {
"tolerance": {
"type": "number"
}
},
"direction": {
"type": "array",
"items": {
"type": "number"
"requirement_type": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"position": {
"type": "array",
"items": {
"type": "number"
}
},
"direction": {
"type": "array",
"items": {
"type": "number"
}
}
},
"required": [
"id",
"name",
"position",
"direction"
]
}
},
"required": [
"id",
"name",
"position",
"direction"
"tolerance",
"requirement_type"
]
}
},
"required": [
}
},
"required": [
"id",
"tolerance",
"requirement_type"
]
}
"cad_model",
"manufacturing_profile",
"customization",
"scan",
"requirements"
]
}
},
"required": [
"id",
"cad_model",
"manufacturing_profile",
"customization",
"scan",
"requirements"
"$version",
"quality_control_info"
]
}
},
"required": [
"$version",
"quality_control_info"
]
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment