Files
GEWU_agent/contracts/schemas/AutoAcceptPolicy.schema.json
T

109 lines
2.3 KiB
JSON
Raw Normal View History

{
"additionalProperties": false,
"properties": {
"automatic_edge_types": {
"default": [],
"items": {
"enum": [
"solves",
"addresses",
"causes",
"supports",
"contradicts",
"instance_of",
"part_of",
"precedes",
"supersedes",
"compared_with",
"derived_from",
"applies_to"
],
"type": "string"
},
"title": "Automatic Edge Types",
"type": "array"
},
"automatic_node_types": {
"default": [],
"items": {
"enum": [
"finding",
"problem",
"technique",
"case",
"entity",
"event",
"concept",
"datapoint",
"synthesis"
],
"type": "string"
},
"title": "Automatic Node Types",
"type": "array"
},
"automatic_source_registration": {
"default": false,
"title": "Automatic Source Registration",
"type": "boolean"
},
"policy_id": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
"title": "Policy Id",
"type": "string"
},
"policy_version": {
"minimum": 1,
"title": "Policy Version",
"type": "integer"
},
"project_id": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
"title": "Project Id",
"type": "string"
},
"require_owner_decision_for": {
"default": [
"delete",
"merge",
"promote",
"intent",
"policy"
],
"items": {
"enum": [
"delete",
"merge",
"promote",
"intent",
"policy"
],
"type": "string"
},
"title": "Require Owner Decision For",
"type": "array"
},
"require_supported_assessment": {
"default": true,
"title": "Require Supported Assessment",
"type": "boolean"
},
"schema_version": {
"const": 1,
"default": 1,
"title": "Schema Version",
"type": "integer"
}
},
"required": [
"policy_id",
"policy_version",
"project_id"
],
"title": "AutoAcceptPolicy",
"type": "object"
}