{ "$id": "resource-model-export", "type": "object", "additionalProperties": false, "required": [ "_id", "name", "description", "schema", "created", "createdBy", "lastUpdated", "lastUpdatedBy" ], "properties": { "_id": { "$ref": "common-http#/definitions/document-identifier" }, "name": { "$ref": "resource-model-common#/definitions/name" }, "description": { "$ref": "resource-model-common#/definitions/description" }, "schema": { "$ref": "resource-model-common#/definitions/schema" }, "actions": { "$ref": "#/definitions/actions" }, "created": { "$ref": "resource-model-common#/definitions/created" }, "createdBy": { "$ref": "resource-model-common#/definitions/createdByDereferenced" }, "lastUpdated": { "$ref": "resource-model-common#/definitions/lastUpdated" }, "lastUpdatedBy": { "$ref": "resource-model-common#/definitions/lastUpdatedByDereferenced" } }, "definitions": { "action-workflow": { "description": "The name of the workflow to use as the implementation of this action.", "oneOf": [ { "type": "null" }, { "type": "string" } ] }, "action": { "type": "object", "properties": { "_id": { "$ref": "resource-model-common#/definitions/action-identifier" }, "name": { "$ref": "resource-model-common#/definitions/action-name" }, "type": { "$ref": "resource-model-common#/definitions/action-type" }, "preWorkflowJst": { "$ref": "resource-model-common#/definitions/action-preTransformation" }, "workflow": { "$ref": "#/definitions/action-workflow" }, "postWorkflowJst": { "$ref": "resource-model-common#/definitions/action-postTransformation" } } }, "actions": { "type": "array", "items": { "$ref": "#/definitions/action" } } } }