{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "automation-create", "title": "Automation Create", "description": "The format of accepted input for the creation of an Automation document.", "required": [ "name" ], "propertyNames": { "anyOf": [ { "$ref": "automation-common#/definitions/commonFieldNames" }, { "enum": [ "gbac", "componentId", "created", "createdBy", "lastUpdated", "lastUpdatedBy", "componentName" ] } ] }, "allOf": [ { "$ref": "automation-common#/definitions/commonFields" }, { "type": "object", "properties": { "gbac": { "$ref": "automation-common#/definitions/gbac" }, "componentId": { "$ref": "automation-common#/definitions/componentId" } } } ] }