diff --git a/schemas/agent-create-spec.json b/schemas/agent-create-spec.json new file mode 100644 index 0000000..51bb4c2 --- /dev/null +++ b/schemas/agent-create-spec.json @@ -0,0 +1,22 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/AgentCreateSpecResult", + "definitions": { + "AgentCreateSpecResult": { + "type": "object", + "properties": { + "isSuccess": { + "type": "boolean" + }, + "errorMessage": { + "type": "string" + }, + "jobSpec": { + "type": "string" + } + }, + "required": ["isSuccess"], + "additionalProperties": false + } + } +} diff --git a/schemas/agent-create.json b/schemas/agent-create.json new file mode 100644 index 0000000..eb28296 --- /dev/null +++ b/schemas/agent-create.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/AgentCreateResult", + "definitions": { + "AgentCreateResult": { + "type": "object", + "properties": { + "isSuccess": { + "type": "boolean" + }, + "errorMessage": { + "type": "string" + } + }, + "required": ["isSuccess"], + "additionalProperties": false + } + } +}