{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "case", "required": [ "type", "dates", "practitioners" ], "properties": { "type": { "type": "string", "enum": [ "compulsory-liquidation", "creditors-voluntary-liquidation", "members-voluntary-liquidation", "in-administration", "corporate-voluntary-arrangement", "corporate-voluntary-arrangement-moratorium", "administration-order", "receiver-manager", "administrative-receiver", "receivership", "foreign-insolvency", "moratorium" ], "description": "The type of case.\n For enumeration descriptions see `insolvency_case_type` section in the [enumeration mappings] (https://github.com/companieshouse/api-enumerations/blob/master/constants.yml)." }, "dates": { "type": "array", "description": "The dates specific to the case.", "items": { "$ref": "http://127.0.0.1:10000/api.ch.gov.uk-specifications/swagger-2.0/spec/insolvency.json#/definitions/caseDates" } }, "notes": { "type": "array", "description": "The dates specific to the case.", "items": { "type": "string" } }, "practitioners": { "type": "array", "description": "The practitioners for the case.", "items": { "$ref": "http://127.0.0.1:10000/api.ch.gov.uk-specifications/swagger-2.0/spec/insolvency.json#/definitions/practitioners" } }, "links": { "type": "object", "description": "The practitioners for the case.", "items": { "$ref": "http://127.0.0.1:10000/api.ch.gov.uk-specifications/swagger-2.0/spec/insolvency.json#/definitions/links" } }, "number": { "type": "string", "description": "The case number." } } }