app-operations_manager Schemas

On this page:

task-common

{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "task-common", "definitions": { "commonFieldNames": { "$comment": "Only includes field names which have rules in #/definitions/commonFields", "enum": [ "_id", "location", "view", "status", "app", "name", "type", "variables" ] }, "commonFields": { "type": "object", "additionalProperties": true, "properties": { "_id": { "$ref": "common-ops-schema#/definitions/uuidv4" }, "location": { "$ref": "job-common#/definitions/taskLocation" }, "view": { "type": "string" }, "groups": { "type": "array", "items": { "$ref": "#/definitions/taskGroup" } }, "status": { "$ref": "job-common#/definitions/taskStatus" }, "app": { "type": "string" }, "name": { "type": "string" }, "type": { "$ref": "#/definitions/taskType" }, "variables": { "$ref": "#/definitions/variables" }, "last_updated": { "$ref": "common-ops-schema#/definitions/ISODate" } } }, "parent-job": { "type": "object", "properties": { "_id": { "$ref": "common-ops-schema#/definitions/uuidv4" }, "task": { "$ref": "job-common#/definitions/taskId" }, "name": { "type": "string" }, "description": { "type": "string" }, "ancestors": { "type": "array", "items": { "$ref": "common-ops-schema#/definitions/ObjectIdLikeString" } } } }, "taskType": { "enum": [ "manual", "operation", "automatic" ] }, "taskGroup": { "type": "object", "properties": {} }, "variables": { "type": "object", "properties": { "incoming": { "type": "object" }, "outgoing": { "type": "object" }, "decorators": { "$ref": "common-ops-schema#/definitions/decorators" } } }, "type": { "enum": [ "automatic", "operation", "manual" ] }, "metrics-common-manual": { "type": "object", "properties": { "start_time": { "type": "string" }, "claim_time": { "$ref": "common-ops-schema#/definitions/ISODate" }, "end_time": { "type": "number" }, "server_id": { "type": "string" }, "finish_state": { "$ref": "job-common#/definitions/taskStatus" }, "run_time": { "type": "number" } } }, "metrics-common-operation-automatic": { "type": "object", "properties": { "start_time": { "type": "string" }, "end_time": { "type": "number" }, "server_id": { "type": "string" }, "finish_state": { "$ref": "job-common#/definitions/taskStatus" }, "run_time": { "type": "number" }, "retrying": { "type": "boolean" } } } } }