Commit a58e67be authored by Jaden's avatar Jaden Committed by Samuel GAIST

[schema] Dedup db parameter_value schema object

"parameter_value" is the same as the "value" definition
defined in the commons schema

See #74
parent b851f87a
...@@ -105,23 +105,9 @@ ...@@ -105,23 +105,9 @@
"type": "object", "type": "object",
"patternProperties": { "patternProperties": {
"^[a-zA-Z_][a-zA-Z0-9_-]*$": { "^[a-zA-Z_][a-zA-Z0-9_-]*$": {
"$ref": "#/definitions/parameter_value" "$ref": "../common/1.json#/definitions/value"
} }
} }
},
"parameter_value": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
} }
} }
......
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