{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/StatusChange", "title": "StatusChange", "allOf": [ { "$ref": "#/components/schemas/Extensible" }, { "type": "object", "description": "Holds the status, reasons and associated date the status changed, populated by the server", "properties": { "statusChangeDate": { "type": "string", "format": "date-time", "description": "The date and time the status changed." }, "statusChangeReason": { "type": "string", "description": "The reason why the status changed." }, "status": { "$ref": "#/components/schemas/TroubleTicketStatusType" } } } ], "discriminator": { "propertyName": "@type", "mapping": { "StatusChange": "#/components/schemas/StatusChange" } } }