aboutsummaryrefslogtreecommitdiff
path: root/schemas_json/messages.yaml
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2021-11-07 15:52:44 +0100
committerbozo.kopic <bozo@kopic.xyz>2021-12-18 02:38:50 +0100
commit0702d13263bf501c1db074ce1544e60b95161210 (patch)
treeebca76946cead0ffcc742a64c15dd6f5e79958fa /schemas_json/messages.yaml
parent56a75fcb8f5a9e4c05ccec8eb4a3345a115da441 (diff)
major rewritev0.3.0
Diffstat (limited to 'schemas_json/messages.yaml')
-rw-r--r--schemas_json/messages.yaml59
1 files changed, 0 insertions, 59 deletions
diff --git a/schemas_json/messages.yaml b/schemas_json/messages.yaml
deleted file mode 100644
index b1a3169..0000000
--- a/schemas_json/messages.yaml
+++ /dev/null
@@ -1,59 +0,0 @@
----
-"$schema": "http://json-schema.org/schema#"
-id: "opcut://messages.yaml#"
-oneOf:
- - "$ref": "opcut://messages.yaml#/definitions/calculate/request"
- - "$ref": "opcut://messages.yaml#/definitions/calculate/response"
- - "$ref": "opcut://messages.yaml#/definitions/generate_output/request"
- - "$ref": "opcut://messages.yaml#/definitions/generate_output/response"
-definitions:
- calculate:
- request:
- type: object
- required:
- - params
- - method
- properties:
- params:
- "$ref": "opcut://params.yaml#"
- method:
- enum:
- - GREEDY
- - FORWARD_GREEDY
- response:
- type: object
- required:
- - result
- properties:
- result:
- oneOf:
- - type: "null"
- - "$ref": "opcut://result.yaml#"
- generate_output:
- request:
- type: object
- required:
- - result
- - output_type
- - panel
- properties:
- result:
- "$ref": "opcut://result.yaml#"
- output_type:
- enum:
- - PDF
- - SVG
- panel:
- type:
- - "null"
- - string
- response:
- type: object
- required:
- - data
- properties:
- result:
- type:
- - string
- - "null"
-...