{ "$id": "resource-model-database", "type": "object", "additionalProperties": false, "required": [ "_id", "name", "description", "schema", "actions", "created", "createdBy", "lastUpdated", "lastUpdatedBy" ], "properties": { "_id": { "$ref": "common-db#/definitions/document-identifier" }, "name": { "$ref": "resource-model-common#/definitions/name" }, "description": { "$ref": "resource-model-common#/definitions/description" }, "schema": { "$ref": "resource-model-common#/definitions/schemaStringified" }, "actions": { "$ref": "resource-model-common#/definitions/actions" }, "created": { "$ref": "common-db#/definitions/created" }, "createdBy": { "$ref": "#/definitions/createdBy" }, "lastUpdated": { "$ref": "common-db#/definitions/lastUpdated" }, "lastUpdatedBy": { "$ref": "#/definitions/lastUpdatedBy" } }, "definitions": { "createdBy": { "description": "The account identifier of the user who created this resource model", "$ref": "common-db#/definitions/account-identifier" }, "lastUpdatedBy": { "description": "The account identifier of the user who last updated this resource model", "$ref": "common-db#/definitions/account-identifier" } } }