json.schema.api.policies.createPolicy.json Maven / Gradle / Ivy
{
"$id": "https://open-metadata.org/schema/api/policies/createPolicy.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CreatePolicyRequest",
"description": "Create Policy Entity Request",
"type": "object",
"javaType": "org.openmetadata.schema.api.policies.CreatePolicy",
"javaInterfaces": ["org.openmetadata.schema.CreateEntity"],
"properties": {
"name": {
"description": "Name that identifies this Policy.",
"$ref": "../../type/basic.json#/definitions/entityName"
},
"displayName": {
"description": "Title for this Policy.",
"type": "string"
},
"description": {
"description": "A short description of the Policy, comprehensible to regular users.",
"$ref": "../../type/basic.json#/definitions/markdown"
},
"owners": {
"description": "Owners of this Policy.",
"$ref": "../../type/entityReferenceList.json",
"default": null
},
"rules": {
"$ref": "../../entity/policies/policy.json#/definitions/rules"
},
"enabled": {
"description": "Is the policy enabled.",
"type": "boolean",
"default": true
},
"location": {
"description": "UUID of Location where this policy is applied",
"$ref": "../../type/basic.json#/definitions/uuid",
"default": null
},
"domain" : {
"description": "Fully qualified name of the domain the Table belongs to.",
"type": "string"
}
},
"required": ["name", "rules"],
"additionalProperties": false
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy