Files
hunfabric/modules/organization/schemas/org-policy-custom-constraint.schema.json
2026-04-18 10:07:14 +02:00

43 lines
903 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Organization Policy Custom Constraints",
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^custom\\.[a-zA-Z0-9_-]+$": {
"type": "object",
"additionalProperties": false,
"required": [
"action_type",
"condition"
],
"properties": {
"display_name": {
"type": "string"
},
"description": {
"type": "string"
},
"action_type": {
"type": "string"
},
"condition": {
"type": "string"
},
"method_types": {
"type": "array",
"items": {
"type": "string"
}
},
"resource_types": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}