Commit 6b6b4cd9 authored by Jaden's avatar Jaden Committed by Samuel GAIST

[schema] Move df-specific types into df schema

Complex numbers as parameter types are only supported in
dataformats

See #74
parent fee7ca1b
......@@ -23,8 +23,6 @@
"uint64",
"float32",
"float64",
"complex64",
"complex128",
"bool",
"string"
]
......
......@@ -15,6 +15,7 @@
"^[a-zA-Z_][a-zA-Z0-9_-]*$": {
"oneOf": [
{ "$ref": "../common/1.json#/definitions/basetype" },
{ "$ref": "#/definitions/complextypes" },
{ "$ref": "#/definitions/array1d" },
{ "$ref": "#/definitions/array2d" },
{ "$ref": "#/definitions/array3d" },
......@@ -29,6 +30,13 @@
"additionalProperties": false,
"definitions": {
"complextypes": {
"type": "string",
"enum": [
"complex64",
"complex128"
]
},
"array1d": {
"type": "array",
......
Markdown is supported
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