Commit 1e94706e 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 6b6b4cd9
......@@ -92,23 +92,9 @@
"type": "object",
"patternProperties": {
"^[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