{ "$id": "common", "description": "Repository of definitions that are used throughout the application's schemas", "definitions": { "state-identifier": { "description": "The identifier of a resource model or resource instance state", "$ref": "#/definitions/hex-id" }, "ObjectId": { "description": "A MongoDB ObjectId", "type": "string", "pattern": "^[0-9a-fA-F]{24}$", "examples": [ "62a1f3d2ebedfc54e6e0065c" ] }, "uuid-v4": { "description": "UUIDv4", "type": "string", "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$", "examples": [ "6ffce28f-37f8-48a0-a026-5567120def79", "9f3a1fc3-5192-470e-bdcb-9a8ac978e1e5" ] }, "workflow-identifier": { "description": "The UUIDv4 identifying a workflow", "$ref": "#/definitions/uuid-v4" }, "hex-id": { "description": "A 4-digit hexadecimal id", "type": "string", "pattern": "^[0-9a-fA-F]{4}$", "examples": [ "0a2f", "5341", "0000" ] }, "iso-date-string": { "type": "string", "description": "An ISO 8601 date string", "format": "date-time" } } }