aboutsummaryrefslogtreecommitdiff
path: root/schemas_json/result.yaml
diff options
context:
space:
mode:
authorbozokopic <bozo.kopic@gmail.com>2018-04-12 14:14:39 +0200
committerbozokopic <bozo.kopic@gmail.com>2018-04-12 14:14:39 +0200
commit2b6b2b429376d05931b67cd2009dd5aa93cc841f (patch)
tree119943b64bf1f7ad05ff7e8c960b68c79d4b649a /schemas_json/result.yaml
parente6974a745be9aef7982fb3788485550918ea2b75 (diff)
main.py
Diffstat (limited to 'schemas_json/result.yaml')
-rw-r--r--schemas_json/result.yaml59
1 files changed, 59 insertions, 0 deletions
diff --git a/schemas_json/result.yaml b/schemas_json/result.yaml
new file mode 100644
index 0000000..ceb3f42
--- /dev/null
+++ b/schemas_json/result.yaml
@@ -0,0 +1,59 @@
+---
+"$schema": "http://json-schema.org/schema#"
+id: "opcut://result.yaml#"
+type: object
+required:
+ - params
+ - used
+ - unused
+properties:
+ params:
+ "$ref": "opcut://params.yaml#"
+ used:
+ type: array
+ items:
+ "$ref": "opcut://result.yaml#/definitions/used"
+ unused:
+ type: array
+ items:
+ "$ref": "opcut://result.yaml#/definitions/unused"
+definitions:
+ used:
+ type: object
+ required:
+ - panel
+ - item
+ - x
+ - y
+ - rotate
+ properties:
+ panel:
+ type: string
+ item:
+ type: string
+ x:
+ type: number
+ y:
+ type: number
+ rotate:
+ type: boolean
+ unused:
+ type: object
+ required:
+ - panel
+ - width
+ - height
+ - x
+ - y
+ properties:
+ panel:
+ type: string
+ width:
+ type: number
+ height:
+ type: number
+ x:
+ type: number
+ y:
+ type: number
+...