blueprints: specify schema for blueprint metadata (#5509)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
395dc08f05
commit
53f827b54f
|
@ -40,7 +40,10 @@ class Command(BaseCommand):
|
||||||
"$id": "#/properties/metadata",
|
"$id": "#/properties/metadata",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["name"],
|
"required": ["name"],
|
||||||
"properties": {"name": {"type": "string"}, "labels": {"type": "object"}},
|
"properties": {
|
||||||
|
"name": {"type": "string"},
|
||||||
|
"labels": {"type": "object", "additionalProperties": {"type": "string"}},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"context": {
|
"context": {
|
||||||
"$id": "#/properties/context",
|
"$id": "#/properties/context",
|
||||||
|
|
|
@ -25,7 +25,10 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
"type": "object"
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Reference in New Issue