Commit 6a62a11c authored by Samuel GAIST's avatar Samuel GAIST

[schema][database] Add new optional direct_rawdata_access field

This field will allow database creator to specify
whether the raw data can be made directly accessible
to the algorithm execution container.
parent 6294cc57
......@@ -34,8 +34,9 @@
"description": { "$ref": "../common/1.json#/definitions/description" },
"schema_version": { "$ref": "../common/1.json#/definitions/version" }
"schema_version": { "$ref": "../common/1.json#/definitions/version" },
"direct_rawdata_access": {"$ref": "common.json#/definitions/direct_rawdata_access"}
},
"required": [
......
......@@ -34,7 +34,9 @@
"additionalProperties": false
},
"schema_version": { "const": 2 }
"schema_version": { "const": 2 },
"direct_rawdata_access": {"$ref": "common.json#/definitions/direct_rawdata_access"}
},
......
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Algorithm common components descriptor",
"description": "This schema defines the components used in one or more versions of the Database",
"definitions": {
"direct_rawdata_access": {
"type": "boolean",
"default": false
}
}
}
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