summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/unleash/unleash_feature.json
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/unleash/unleash_feature.json')
-rw-r--r--spec/fixtures/api/schemas/unleash/unleash_feature.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/unleash/unleash_feature.json b/spec/fixtures/api/schemas/unleash/unleash_feature.json
new file mode 100644
index 00000000000..71d375a5371
--- /dev/null
+++ b/spec/fixtures/api/schemas/unleash/unleash_feature.json
@@ -0,0 +1,27 @@
+{
+ "type": "object",
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "enabled",
+ "strategies"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "strategies": {
+ "items": {
+ "$ref": "unleash_strategy.json"
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ }
+}