{"openapi":"3.1.0","info":{"description":"API for operations relating to the Find a Court or Tribunal Service exposed through Azure API Management","license":{"name":"MIT","url":"https://opensource.org/licenses/MIT"},"title":"Fact Data API - APIM","version":"v0.0.1"},"externalDocs":{"description":"README","url":"https://github.com/hmcts/fact-data-api"},"servers":[{"url":"http://localhost","description":"Generated server url"}],"tags":[{"description":"Operations available to the Azure API Management gateway","name":"apim"}],"paths":{"/courts/name/v1":{"get":{"description":"Fetch the court entity for a given exact court name.","operationId":"getCourtByName","parameters":[{"description":"Exact name of the court","in":"query","name":"name","required":true,"schema":{"type":"string","maxLength":250,"minLength":0}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/Court"}}},"description":"Successfully retrieved court entity"},"204":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"No Content"},"400":{"content":{"*/*":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"string"}},{"$ref":"#/components/schemas/ExceptionResponse"}]}}},"description":"Invalid court name supplied"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Forbidden"},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Court not found"},"413":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Content Too Large"},"415":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Unsupported Media Type"},"500":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Internal Server Error"},"502":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Bad Gateway"}},"security":[{"bearerAuth":[]}],"summary":"Get court entity by exact name","tags":["apim"]}},"/courts/slug/{courtSlug}.json":{"get":{"description":"Fetch detailed court information for a given court slug.","operationId":"getCourtDetailsBySlug_1","parameters":[{"description":"Slug of the court","in":"path","name":"courtSlug","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/CourtDetails_CourtDetailsView"}}},"description":"Successfully retrieved court details"},"204":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"No Content"},"400":{"content":{"*/*":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"string"}},{"$ref":"#/components/schemas/ExceptionResponse"}]}}},"description":"Invalid court slug supplied"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Forbidden"},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Court not found"},"413":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Content Too Large"},"415":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Unsupported Media Type"},"500":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Internal Server Error"},"502":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Bad Gateway"}},"security":[{"bearerAuth":[]}],"summary":"Get court details by slug","tags":["apim"]}},"/courts/slug/{courtSlug}/v1":{"get":{"description":"Fetch detailed court information for a given court slug.","operationId":"getCourtDetailsBySlug","parameters":[{"description":"Slug of the court","in":"path","name":"courtSlug","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/CourtDetails_CourtDetailsView"}}},"description":"Successfully retrieved court details"},"204":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"No Content"},"400":{"content":{"*/*":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"string"}},{"$ref":"#/components/schemas/ExceptionResponse"}]}}},"description":"Invalid court slug supplied"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Forbidden"},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Court not found"},"413":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Content Too Large"},"415":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Unsupported Media Type"},"500":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Internal Server Error"},"502":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Bad Gateway"}},"security":[{"bearerAuth":[]}],"summary":"Get court details by slug","tags":["apim"]}},"/courts/{courtId}.json":{"get":{"description":"Fetch detailed court information for a given court ID.","operationId":"getCourtDetailsById_1","parameters":[{"description":"UUID of the court","in":"path","name":"courtId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/CourtDetails"}}},"description":"Successfully retrieved court details"},"204":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"No Content"},"400":{"content":{"*/*":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"string"}},{"$ref":"#/components/schemas/ExceptionResponse"}]}}},"description":"Invalid court ID supplied"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Forbidden"},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Court not found"},"413":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Content Too Large"},"415":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Unsupported Media Type"},"500":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Internal Server Error"},"502":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Bad Gateway"}},"security":[{"bearerAuth":[]}],"summary":"Get court details by ID","tags":["apim"]}},"/courts/{courtId}/v1":{"get":{"description":"Fetch detailed court information for a given court ID.","operationId":"getCourtDetailsById","parameters":[{"description":"UUID of the court","in":"path","name":"courtId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/CourtDetails"}}},"description":"Successfully retrieved court details"},"204":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"No Content"},"400":{"content":{"*/*":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"string"}},{"$ref":"#/components/schemas/ExceptionResponse"}]}}},"description":"Invalid court ID supplied"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Forbidden"},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Court not found"},"413":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Content Too Large"},"415":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Unsupported Media Type"},"500":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Internal Server Error"},"502":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Bad Gateway"}},"security":[{"bearerAuth":[]}],"summary":"Get court details by ID","tags":["apim"]}},"/courts/{courtId}/v1/contact-details":{"get":{"description":"Fetch all contact details associated with the supplied court ID.","operationId":"getContactDetails","parameters":[{"description":"UUID of the court","in":"path","name":"courtId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CourtContactDetails"}}}},"description":"Successfully retrieved contact details"},"204":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"No Content"},"400":{"content":{"*/*":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"string"}},{"$ref":"#/components/schemas/ExceptionResponse"}]}}},"description":"Invalid court ID supplied"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Forbidden"},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Court not found"},"413":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Content Too Large"},"415":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Unsupported Media Type"},"500":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Internal Server Error"},"502":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Bad Gateway"}},"security":[{"bearerAuth":[]}],"summary":"Get contact details for a court","tags":["apim"]}},"/search/courts/v1/postcode":{"get":{"description":"Retrieve courts based on postcode, service area and action.","operationId":"getCourtsByPostcode","parameters":[{"description":"Postcode","in":"query","name":"postcode","required":true,"schema":{"type":"string","minLength":1}},{"description":"Service area name","in":"query","name":"serviceArea","required":false,"schema":{"type":"string"}},{"description":"Action to perform","in":"query","name":"action","required":false,"schema":{"type":"string","enum":["NEAREST","DOCUMENTS","UPDATE"]}},{"description":"Maximum number of results (default 10)","in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":10,"maximum":50,"minimum":1}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CourtWithDistance"}}}},"description":"Successfully retrieved court(s) based on provided postcode."},"204":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"No Content"},"400":{"content":{"*/*":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"string"}},{"$ref":"#/components/schemas/ExceptionResponse"}]}}},"description":"Postcode is missing or is not valid."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Forbidden"},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Information not found. For example, service area provided but not valid."},"413":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Content Too Large"},"415":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Unsupported Media Type"},"500":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"OS returned an error when attempting to retrieve information about the provided postcode."},"502":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExceptionResponse"}}},"description":"Bad Gateway"}},"security":[{"bearerAuth":[]}],"summary":"Search courts by postcode, plus optional fields based on various business rules.","tags":["apim"]}}},"components":{"schemas":{"ContactDescriptionType":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"name":{"type":"string","description":"The name","minLength":1},"nameCy":{"type":"string","description":"The Welsh language name","minLength":1}},"required":["name","nameCy"]},"ContactDescriptionType_CourtDetailsView":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"name":{"type":"string","description":"The name","minLength":1},"nameCy":{"type":"string","description":"The Welsh language name","minLength":1}},"required":["name","nameCy"]},"Court":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","description":"The created date/time of the Court record","readOnly":true},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"lastUpdatedAt":{"type":"string","format":"date-time","description":"The last updated date/time of the Court record","readOnly":true},"mrdId":{"type":"string","description":"The Court's Master Reference Data ID"},"name":{"type":"string","description":"The name of the Court","maxLength":200,"minLength":5,"pattern":"^(?=.*[A-Za-z])[A-Za-z&'()\\- ]+$"},"open":{"type":"boolean","description":"The open status of the Court"},"openOnCath":{"type":"boolean","description":"Indicates that this Court is declared open in the Court and Tribunal Hearing service"},"regionId":{"type":"string","format":"uuid","description":"The ID of the associated Region"},"slug":{"type":"string","description":"The Court 'slug'"},"warningNotice":{"type":"string","description":"Any warning notices attached to the Court","maxLength":250,"minLength":0,"pattern":"^[A-Za-z0-9.,!?:;'\"()\\-/&@+\\s]+$"},"warningNoticeCy":{"type":"string","description":"Any Welsh warning notices attached to the Court","maxLength":250,"minLength":0,"pattern":"^[\\p{L}0-9.,!?:;'\"()\\-/&@+\\s]+$"}},"required":["name","open","regionId"]},"CourtAccessibilityOptions":{"type":"object","description":"AccessibilityOptions object to create or update","properties":{"accessibleEntrance":{"type":"boolean","description":"The accessible entrance status"},"accessibleEntrancePhoneNumber":{"type":"string","description":"The contact phone number for accessible entrance enquiries","maxLength":20,"minLength":0,"pattern":"^(|(\\+44)?[0-9 ()-]{10,20})$"},"accessibleParking":{"type":"boolean","description":"The accessible parking status"},"accessibleParkingPhoneNumber":{"type":"string","description":"The contact phone number for accessible parking enquiries","maxLength":20,"minLength":0,"pattern":"^(|(\\+44)?[0-9 ()-]{10,20})$"},"accessibleToiletDescription":{"type":"string","description":"Details of available accessible toilets","maxLength":250,"minLength":0,"pattern":"^[A-Za-z0-9 ()':,\\-;.&]+$"},"accessibleToiletDescriptionCy":{"type":"string","description":"Welsh language details of available accessible toilets","maxLength":250,"minLength":0,"pattern":"^[\\p{L}\\p{M}0-9 ()':,\\-;.&]+$"},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"hearingEnhancementEquipment":{"type":"string","description":"Details of available hearing enhancement equipment","enum":["INFRARED_SYSTEMS_AND_HEARING_LOOP_SYSTEMS","INFRARED_SYSTEMS","HEARING_LOOP_SYSTEMS","NONE"]},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"lift":{"type":"boolean","description":"Lift availability status"},"liftDoorLimit":{"type":"integer","format":"int32","description":"Lift weight limit (in kg)","maximum":10000,"minimum":1},"liftDoorWidth":{"type":"integer","format":"int32","description":"Lift door width (in cm)","maximum":1000,"minimum":1},"liftSupportPhoneNumber":{"type":"string","description":"Telephone number for organising support at court when there is no lift","maxLength":20,"minLength":0,"pattern":"^(|(\\+44)?[0-9 ()-]{10,20})$"},"quietRoom":{"type":"boolean","description":"Quiet room availability status"}},"required":["accessibleEntrance","accessibleParking","courtId","hearingEnhancementEquipment","lift","quietRoom"]},"CourtAccessibilityOptions_CourtDetailsView":{"type":"object","properties":{"accessibleEntrance":{"type":"boolean","description":"The accessible entrance status"},"accessibleEntrancePhoneNumber":{"type":"string","description":"The contact phone number for accessible entrance enquiries","maxLength":20,"minLength":0,"pattern":"^(|(\\+44)?[0-9 ()-]{10,20})$"},"accessibleParking":{"type":"boolean","description":"The accessible parking status"},"accessibleParkingPhoneNumber":{"type":"string","description":"The contact phone number for accessible parking enquiries","maxLength":20,"minLength":0,"pattern":"^(|(\\+44)?[0-9 ()-]{10,20})$"},"accessibleToiletDescription":{"type":"string","description":"Details of available accessible toilets","maxLength":250,"minLength":0,"pattern":"^[A-Za-z0-9 ()':,\\-;.&]+$"},"accessibleToiletDescriptionCy":{"type":"string","description":"Welsh language details of available accessible toilets","maxLength":250,"minLength":0,"pattern":"^[\\p{L}\\p{M}0-9 ()':,\\-;.&]+$"},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"hearingEnhancementEquipment":{"type":"string","description":"Details of available hearing enhancement equipment","enum":["INFRARED_SYSTEMS_AND_HEARING_LOOP_SYSTEMS","INFRARED_SYSTEMS","HEARING_LOOP_SYSTEMS","NONE"]},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"lift":{"type":"boolean","description":"Lift availability status"},"liftDoorLimit":{"type":"integer","format":"int32","description":"Lift weight limit (in kg)","maximum":10000,"minimum":1},"liftDoorWidth":{"type":"integer","format":"int32","description":"Lift door width (in cm)","maximum":1000,"minimum":1},"liftSupportPhoneNumber":{"type":"string","description":"Telephone number for organising support at court when there is no lift","maxLength":20,"minLength":0,"pattern":"^(|(\\+44)?[0-9 ()-]{10,20})$"},"quietRoom":{"type":"boolean","description":"Quiet room availability status"}},"required":["accessibleEntrance","accessibleParking","courtId","hearingEnhancementEquipment","lift","quietRoom"]},"CourtAddress":{"type":"object","description":"Address to create","properties":{"addressLine1":{"type":"string","description":"The first address line","maxLength":250,"minLength":0,"pattern":"^[A-Za-z0-9 ()':,&-]+$"},"addressLine2":{"type":"string","description":"The second address line","maxLength":250,"minLength":0,"pattern":"^(|[A-Za-z0-9 ()':,&-]+$)$"},"addressType":{"type":"string","description":"The address type","enum":["VISIT_US","WRITE_TO_US","VISIT_OR_CONTACT_US"]},"areasOfLaw":{"type":"array","items":{}},"county":{"type":"string","description":"The county","maxLength":100,"minLength":0,"pattern":"^(|[A-Za-z0-9 ()':,&-]+$)$"},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"courtTypes":{"type":"array","items":{}},"epimId":{"type":"string","description":"The EPIM ID","maxLength":10,"minLength":0,"pattern":"^[A-Za-z0-9 -]+$"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"lat":{"type":"number","description":"The latitude coordinate"},"lon":{"type":"number","description":"The longitude coordinate"},"osAddressDataset":{"type":"string","description":"Request-only OS dataset used to verify the selected admin address","writeOnly":true},"osAddressLpiKey":{"type":"string","description":"Request-only OS LPI key used to verify the selected admin address","writeOnly":true},"osAddressUprn":{"type":"string","description":"Request-only OS UPRN used to verify the selected admin address","writeOnly":true},"postcode":{"type":"string","description":"The postcode","minLength":1},"townCity":{"type":"string","description":"The town/city","maxLength":100,"minLength":0,"pattern":"^[A-Za-z0-9 ()':,&-]+$"}},"required":["addressLine1","addressType","courtId","postcode","townCity"]},"CourtAddress_CourtDetailsView":{"type":"object","properties":{"addressLine1":{"type":"string","description":"The first address line","maxLength":250,"minLength":0,"pattern":"^[A-Za-z0-9 ()':,&-]+$"},"addressLine2":{"type":"string","description":"The second address line","maxLength":250,"minLength":0,"pattern":"^(|[A-Za-z0-9 ()':,&-]+$)$"},"addressType":{"type":"string","description":"The address type","enum":["VISIT_US","WRITE_TO_US","VISIT_OR_CONTACT_US"]},"areasOfLaw":{"type":"array","items":{}},"county":{"type":"string","description":"The county","maxLength":100,"minLength":0,"pattern":"^(|[A-Za-z0-9 ()':,&-]+$)$"},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"courtTypes":{"type":"array","items":{}},"epimId":{"type":"string","description":"The EPIM ID","maxLength":10,"minLength":0,"pattern":"^[A-Za-z0-9 -]+$"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"lat":{"type":"number","description":"The latitude coordinate"},"lon":{"type":"number","description":"The longitude coordinate"},"osAddressDataset":{"type":"string","description":"Request-only OS dataset used to verify the selected admin address","writeOnly":true},"osAddressLpiKey":{"type":"string","description":"Request-only OS LPI key used to verify the selected admin address","writeOnly":true},"osAddressUprn":{"type":"string","description":"Request-only OS UPRN used to verify the selected admin address","writeOnly":true},"postcode":{"type":"string","description":"The postcode","minLength":1},"townCity":{"type":"string","description":"The town/city","maxLength":100,"minLength":0,"pattern":"^[A-Za-z0-9 ()':,&-]+$"}},"required":["addressLine1","addressType","courtId","postcode","townCity"]},"CourtAreasOfLaw":{"type":"object","description":"AreasOfLaw object to create or update","properties":{"areasOfLaw":{"type":"array","items":{}},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true}},"required":["courtId"]},"CourtAreasOfLaw_CourtDetailsView":{"type":"object","properties":{"areasOfLaw":{"type":"array","items":{}},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true}},"required":["courtId"]},"CourtCodes":{"type":"object","properties":{"countyCourtCode":{"type":"integer","format":"int32","description":"The County Court code"},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"crownCourtCode":{"type":"integer","format":"int32","description":"The Crown Court code"},"familyCourtCode":{"type":"integer","format":"int32","description":"The Family Court code"},"gbs":{"type":"string","description":"The GBS code","maxLength":10,"minLength":0,"pattern":"^[A-Za-z0-9]*$"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"magistrateCourtCode":{"type":"integer","format":"int32","description":"The Magistrate Court code"},"tribunalCode":{"type":"integer","format":"int32","description":"The Tribunal Court code"}},"required":["courtId"]},"CourtCodes_CourtDetailsView":{"type":"object","properties":{"countyCourtCode":{"type":"integer","format":"int32","description":"The County Court code"},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"crownCourtCode":{"type":"integer","format":"int32","description":"The Crown Court code"},"familyCourtCode":{"type":"integer","format":"int32","description":"The Family Court code"},"gbs":{"type":"string","description":"The GBS code","maxLength":10,"minLength":0,"pattern":"^[A-Za-z0-9]*$"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"magistrateCourtCode":{"type":"integer","format":"int32","description":"The Magistrate Court code"},"tribunalCode":{"type":"integer","format":"int32","description":"The Tribunal Court code"}},"required":["courtId"]},"CourtContactDetails":{"type":"object","description":"Contact detail to create","properties":{"courtContactDescription":{"$ref":"#/components/schemas/ContactDescriptionType"},"courtContactDescriptionId":{"type":"string","format":"uuid","description":"The ID of the associated Contact Description Type"},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"email":{"type":"string","description":"The associated email address","maxLength":254,"minLength":0,"pattern":"^(|[A-Za-z0-9._+-]+@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.[A-Za-z]{2,})$"},"explanation":{"type":"string","description":"The explanation","maxLength":250,"minLength":0,"pattern":"^[A-Za-z0-9 '\\-()&+]*$"},"explanationCy":{"type":"string","description":"The Welsh language explanation","maxLength":250,"minLength":0,"pattern":"^[\\p{L}\\p{M}0-9 '\\-()&+]*$"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"phoneNumber":{"type":"string","description":"The associated phone number","maxLength":20,"minLength":0,"pattern":"^(|(\\+44)?[0-9 ()-]{10,20})$"}},"required":["courtContactDescriptionId","courtId"]},"CourtContactDetails_CourtDetailsView":{"type":"object","properties":{"courtContactDescription":{"$ref":"#/components/schemas/ContactDescriptionType_CourtDetailsView"},"courtContactDescriptionId":{"type":"string","format":"uuid","description":"The ID of the associated Contact Description Type"},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"email":{"type":"string","description":"The associated email address","maxLength":254,"minLength":0,"pattern":"^(|[A-Za-z0-9._+-]+@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.[A-Za-z]{2,})$"},"explanation":{"type":"string","description":"The explanation","maxLength":250,"minLength":0,"pattern":"^[A-Za-z0-9 '\\-()&+]*$"},"explanationCy":{"type":"string","description":"The Welsh language explanation","maxLength":250,"minLength":0,"pattern":"^[\\p{L}\\p{M}0-9 '\\-()&+]*$"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"phoneNumber":{"type":"string","description":"The associated phone number","maxLength":20,"minLength":0,"pattern":"^(|(\\+44)?[0-9 ()-]{10,20})$"}},"required":["courtContactDescriptionId","courtId"]},"CourtCounterServiceOpeningHours":{"type":"object","properties":{"appointmentContact":{"type":"string","description":"Appointment arrangement contact details","maxLength":254,"minLength":0,"pattern":"^(|[A-Za-z0-9._+-]+@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.[A-Za-z]{2,})$"},"appointmentNeeded":{"type":"boolean","description":"Arranged appointment requirement status"},"assistWithDocuments":{"type":"boolean","description":"'Assist with Documents' service availability status"},"assistWithForms":{"type":"boolean","description":"'Assist with Forms' service availability status"},"assistWithSupport":{"type":"boolean","description":"'Assist with Support' availability status"},"counterService":{"type":"boolean","description":"Counter service availability status"},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"courtTypes":{"type":"array","items":{}},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"openingTimesDetails":{"type":"array","items":{"$ref":"#/components/schemas/OpeningTimesDetail"}}},"required":["appointmentNeeded","assistWithDocuments","assistWithForms","assistWithSupport","counterService","courtId"]},"CourtCounterServiceOpeningHours_CourtDetailsView":{"type":"object","properties":{"appointmentContact":{"type":"string","description":"Appointment arrangement contact details","maxLength":254,"minLength":0,"pattern":"^(|[A-Za-z0-9._+-]+@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.[A-Za-z]{2,})$"},"appointmentNeeded":{"type":"boolean","description":"Arranged appointment requirement status"},"assistWithDocuments":{"type":"boolean","description":"'Assist with Documents' service availability status"},"assistWithForms":{"type":"boolean","description":"'Assist with Forms' service availability status"},"assistWithSupport":{"type":"boolean","description":"'Assist with Support' availability status"},"counterService":{"type":"boolean","description":"Counter service availability status"},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"courtTypes":{"type":"array","items":{}},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"openingTimesDetails":{"type":"array","items":{"$ref":"#/components/schemas/OpeningTimesDetail_CourtDetailsView"}}},"required":["appointmentNeeded","assistWithDocuments","assistWithForms","assistWithSupport","counterService","courtId"]},"CourtDetails":{"type":"object","properties":{"courtAccessibilityOptions":{"type":"array","description":"The Accessibility Options available at the Court","items":{"$ref":"#/components/schemas/CourtAccessibilityOptions"}},"courtAddresses":{"type":"array","description":"The Addresses for the Court","items":{"$ref":"#/components/schemas/CourtAddress"}},"courtAreasOfLaw":{"type":"array","description":"The Areas of Law for the Court","items":{"$ref":"#/components/schemas/CourtAreasOfLaw"}},"courtCodes":{"type":"array","description":"The Court Codes for the Court","items":{"$ref":"#/components/schemas/CourtCodes"}},"courtContactDetails":{"type":"array","description":"The Contact Details for the Court","items":{"$ref":"#/components/schemas/CourtContactDetails"}},"courtCounterServiceOpeningHours":{"type":"array","description":"The Counter Service Opening Hours for the Court","items":{"$ref":"#/components/schemas/CourtCounterServiceOpeningHours"}},"courtDxCodes":{"type":"array","description":"The Dx Code for the Court","items":{"$ref":"#/components/schemas/CourtDxCode"}},"courtFacilities":{"type":"array","description":"The Facilities available at the Court","items":{"$ref":"#/components/schemas/CourtFacilities"}},"courtFaxNumbers":{"type":"array","description":"The Fax Numbers for the Court","items":{"$ref":"#/components/schemas/CourtFax"}},"courtOpeningHours":{"type":"array","description":"The Opening Hours for the Court","items":{"$ref":"#/components/schemas/CourtOpeningHours"}},"courtPhotos":{"type":"array","description":"The photo for the Court","items":{"$ref":"#/components/schemas/CourtPhoto"}},"courtProfessionalInformation":{"type":"array","description":"The Profession Information for the Court","items":{"$ref":"#/components/schemas/CourtProfessionalInformation"}},"courtTranslations":{"type":"array","description":"The Translation Services available at the Court","items":{"$ref":"#/components/schemas/CourtTranslation"}},"createdAt":{"type":"string","format":"date-time","description":"The created date/time of the Court record","readOnly":true},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"lastUpdatedAt":{"type":"string","format":"date-time","description":"The last updated date/time of the Court record","readOnly":true},"mrdId":{"type":"string","description":"The Court's Master Reference Data ID"},"name":{"type":"string","description":"The name of the Court","maxLength":200,"minLength":5,"pattern":"^(?=.*[A-Za-z])[A-Za-z&'()\\- ]+$"},"open":{"type":"boolean","description":"The open status of the Court"},"openOnCath":{"type":"boolean","description":"Indicates that this Court is declared open in the Court and Tribunal Hearing service"},"region":{"$ref":"#/components/schemas/Region","description":"The Region"},"regionId":{"type":"string","format":"uuid","description":"The ID of the associated Region"},"slug":{"type":"string","description":"The Court 'slug'"},"warningNotice":{"type":"string","description":"Any warning notices attached to the Court","maxLength":250,"minLength":0,"pattern":"^[A-Za-z0-9.,!?:;'\"()\\-/&@+\\s]+$"},"warningNoticeCy":{"type":"string","description":"Any Welsh warning notices attached to the Court","maxLength":250,"minLength":0,"pattern":"^[\\p{L}0-9.,!?:;'\"()\\-/&@+\\s]+$"}},"required":["name","open","regionId"]},"CourtDetails_CourtDetailsView":{"type":"object","properties":{"courtAccessibilityOptions":{"type":"array","description":"The Accessibility Options available at the Court","items":{"$ref":"#/components/schemas/CourtAccessibilityOptions_CourtDetailsView"}},"courtAddresses":{"type":"array","description":"The Addresses for the Court","items":{"$ref":"#/components/schemas/CourtAddress_CourtDetailsView"}},"courtAreasOfLaw":{"type":"array","description":"The Areas of Law for the Court","items":{"$ref":"#/components/schemas/CourtAreasOfLaw_CourtDetailsView"}},"courtCodes":{"type":"array","description":"The Court Codes for the Court","items":{"$ref":"#/components/schemas/CourtCodes_CourtDetailsView"}},"courtContactDetails":{"type":"array","description":"The Contact Details for the Court","items":{"$ref":"#/components/schemas/CourtContactDetails_CourtDetailsView"}},"courtCounterServiceOpeningHours":{"type":"array","description":"The Counter Service Opening Hours for the Court","items":{"$ref":"#/components/schemas/CourtCounterServiceOpeningHours_CourtDetailsView"}},"courtDxCodes":{"type":"array","description":"The Dx Code for the Court","items":{"$ref":"#/components/schemas/CourtDxCode_CourtDetailsView"}},"courtFacilities":{"type":"array","description":"The Facilities available at the Court","items":{"$ref":"#/components/schemas/CourtFacilities_CourtDetailsView"}},"courtFaxNumbers":{"type":"array","description":"The Fax Numbers for the Court","items":{"$ref":"#/components/schemas/CourtFax_CourtDetailsView"}},"courtOpeningHours":{"type":"array","description":"The Opening Hours for the Court","items":{"$ref":"#/components/schemas/CourtOpeningHours_CourtDetailsView"}},"courtPhotos":{"type":"array","description":"The photo for the Court","items":{"$ref":"#/components/schemas/CourtPhoto_CourtDetailsView"}},"courtProfessionalInformation":{"type":"array","description":"The Profession Information for the Court","items":{"$ref":"#/components/schemas/CourtProfessionalInformation_CourtDetailsView"}},"courtTranslations":{"type":"array","description":"The Translation Services available at the Court","items":{"$ref":"#/components/schemas/CourtTranslation_CourtDetailsView"}},"createdAt":{"type":"string","format":"date-time","description":"The created date/time of the Court record","readOnly":true},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"lastUpdatedAt":{"type":"string","format":"date-time","description":"The last updated date/time of the Court record","readOnly":true},"mrdId":{"type":"string","description":"The Court's Master Reference Data ID"},"name":{"type":"string","description":"The name of the Court","maxLength":200,"minLength":5,"pattern":"^(?=.*[A-Za-z])[A-Za-z&'()\\- ]+$"},"open":{"type":"boolean","description":"The open status of the Court"},"openOnCath":{"type":"boolean","description":"Indicates that this Court is declared open in the Court and Tribunal Hearing service"},"region":{"$ref":"#/components/schemas/Region_CourtDetailsView","description":"The Region"},"regionId":{"type":"string","format":"uuid","description":"The ID of the associated Region"},"slug":{"type":"string","description":"The Court 'slug'"},"warningNotice":{"type":"string","description":"Any warning notices attached to the Court","maxLength":250,"minLength":0,"pattern":"^[A-Za-z0-9.,!?:;'\"()\\-/&@+\\s]+$"},"warningNoticeCy":{"type":"string","description":"Any Welsh warning notices attached to the Court","maxLength":250,"minLength":0,"pattern":"^[\\p{L}0-9.,!?:;'\"()\\-/&@+\\s]+$"}},"required":["name","open","regionId"]},"CourtDxCode":{"type":"object","properties":{"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"dxCode":{"type":"string","description":"The DX Code","maxLength":200,"minLength":0,"pattern":"^[A-Za-z0-9 ()':,\\-;.&]+$"},"explanation":{"type":"string","description":"The explanation","maxLength":250,"minLength":0,"pattern":"^[A-Za-z0-9 ()':,\\-;.&]+$"},"explanationCy":{"type":"string","description":"The Welsh language explanation","maxLength":250,"minLength":0,"pattern":"^[\\p{L}\\p{M}0-9 ()':,\\-;.&]+$"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true}},"required":["courtId","dxCode"]},"CourtDxCode_CourtDetailsView":{"type":"object","properties":{"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"dxCode":{"type":"string","description":"The DX Code","maxLength":200,"minLength":0,"pattern":"^[A-Za-z0-9 ()':,\\-;.&]+$"},"explanation":{"type":"string","description":"The explanation","maxLength":250,"minLength":0,"pattern":"^[A-Za-z0-9 ()':,\\-;.&]+$"},"explanationCy":{"type":"string","description":"The Welsh language explanation","maxLength":250,"minLength":0,"pattern":"^[\\p{L}\\p{M}0-9 ()':,\\-;.&]+$"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true}},"required":["courtId","dxCode"]},"CourtFacilities":{"type":"object","description":"Facilities object to create or update","properties":{"babyChanging":{"type":"boolean","description":"Baby changing facilities availability status"},"cafeteria":{"type":"boolean","description":"Cafeteria availability status"},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"drinkVendingMachines":{"type":"boolean","description":"Drink vending machine availability status"},"freeWaterDispensers":{"type":"boolean","description":"Free water dispenser availability status"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"parking":{"type":"boolean","description":"Parking availability status"},"quietRoom":{"type":"boolean","description":"Quiet room availability status"},"snackVendingMachines":{"type":"boolean","description":"Snack vending machine availability status"},"waitingArea":{"type":"boolean","description":"Waiting area availability status"},"waitingAreaChildren":{"type":"boolean","description":"Child-specific waiting area availability status"},"wifi":{"type":"boolean","description":"WiFi availability status"}},"required":["babyChanging","cafeteria","courtId","drinkVendingMachines","freeWaterDispensers","parking","quietRoom","snackVendingMachines","waitingArea","wifi"]},"CourtFacilities_CourtDetailsView":{"type":"object","properties":{"babyChanging":{"type":"boolean","description":"Baby changing facilities availability status"},"cafeteria":{"type":"boolean","description":"Cafeteria availability status"},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"drinkVendingMachines":{"type":"boolean","description":"Drink vending machine availability status"},"freeWaterDispensers":{"type":"boolean","description":"Free water dispenser availability status"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"parking":{"type":"boolean","description":"Parking availability status"},"quietRoom":{"type":"boolean","description":"Quiet room availability status"},"snackVendingMachines":{"type":"boolean","description":"Snack vending machine availability status"},"waitingArea":{"type":"boolean","description":"Waiting area availability status"},"waitingAreaChildren":{"type":"boolean","description":"Child-specific waiting area availability status"},"wifi":{"type":"boolean","description":"WiFi availability status"}},"required":["babyChanging","cafeteria","courtId","drinkVendingMachines","freeWaterDispensers","parking","quietRoom","snackVendingMachines","waitingArea","wifi"]},"CourtFax":{"type":"object","properties":{"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"description":{"type":"string","description":"Description","maxLength":250,"minLength":0,"pattern":"^[A-Za-z0-9 ()':,\\-;.&]+$"},"descriptionCy":{"type":"string","description":"Welsh language description","maxLength":250,"minLength":0,"pattern":"^[\\p{L}\\p{M}0-9 ()':,\\-;.&]+$"},"faxNumber":{"type":"string","description":"Contact fax number","maxLength":20,"minLength":0,"pattern":"^(|(\\+44)?[0-9 ()-]{10,20})$"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true}},"required":["courtId","faxNumber"]},"CourtFax_CourtDetailsView":{"type":"object","properties":{"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"description":{"type":"string","description":"Description","maxLength":250,"minLength":0,"pattern":"^[A-Za-z0-9 ()':,\\-;.&]+$"},"descriptionCy":{"type":"string","description":"Welsh language description","maxLength":250,"minLength":0,"pattern":"^[\\p{L}\\p{M}0-9 ()':,\\-;.&]+$"},"faxNumber":{"type":"string","description":"Contact fax number","maxLength":20,"minLength":0,"pattern":"^(|(\\+44)?[0-9 ()-]{10,20})$"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true}},"required":["courtId","faxNumber"]},"CourtOpeningHours":{"type":"object","properties":{"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"openingHourType":{"$ref":"#/components/schemas/OpeningHourType"},"openingHourTypeId":{"type":"string","format":"uuid","description":"The ID of the associated Opening Hour Type"},"openingTimesDetails":{"type":"array","items":{"$ref":"#/components/schemas/OpeningTimesDetail"}}},"required":["courtId","openingHourTypeId"]},"CourtOpeningHours_CourtDetailsView":{"type":"object","properties":{"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"openingHourType":{"$ref":"#/components/schemas/OpeningHourType_CourtDetailsView"},"openingHourTypeId":{"type":"string","format":"uuid","description":"The ID of the associated Opening Hour Type"},"openingTimesDetails":{"type":"array","items":{"$ref":"#/components/schemas/OpeningTimesDetail_CourtDetailsView"}}},"required":["courtId","openingHourTypeId"]},"CourtPhoto":{"type":"object","properties":{"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"fileLink":{"type":"string","description":"Link to the image file","minLength":1},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"lastUpdatedAt":{"type":"string","format":"date-time","description":"The last update date/time","readOnly":true},"updatedByUserId":{"type":"string","format":"uuid","description":"The ID of the associated Court"}},"required":["courtId","fileLink","updatedByUserId"]},"CourtPhoto_CourtDetailsView":{"type":"object","properties":{"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"fileLink":{"type":"string","description":"Link to the image file","minLength":1},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"lastUpdatedAt":{"type":"string","format":"date-time","description":"The last update date/time","readOnly":true},"updatedByUserId":{"type":"string","format":"uuid","description":"The ID of the associated Court"}},"required":["courtId","fileLink","updatedByUserId"]},"CourtProfessionalInformation":{"type":"object","properties":{"accessScheme":{"type":"boolean","description":"Access scheme status"},"commonPlatform":{"type":"boolean","description":"Common platform status"},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"interviewPhoneNumber":{"type":"string","maxLength":20,"minLength":0,"pattern":"^(|(\\+44)?[0-9 ()-]{10,20})$"},"interviewRoomCount":{"type":"integer","format":"int32","description":"Number of available interview rooms","maximum":150,"minimum":0},"interviewRooms":{"type":"boolean","description":"Interview room availability status"},"videoHearings":{"type":"boolean","description":"Video hearing capability status"}},"required":["accessScheme","commonPlatform","courtId","interviewRooms","videoHearings"]},"CourtProfessionalInformation_CourtDetailsView":{"type":"object","properties":{"accessScheme":{"type":"boolean","description":"Access scheme status"},"commonPlatform":{"type":"boolean","description":"Common platform status"},"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"interviewPhoneNumber":{"type":"string","maxLength":20,"minLength":0,"pattern":"^(|(\\+44)?[0-9 ()-]{10,20})$"},"interviewRoomCount":{"type":"integer","format":"int32","description":"Number of available interview rooms","maximum":150,"minimum":0},"interviewRooms":{"type":"boolean","description":"Interview room availability status"},"videoHearings":{"type":"boolean","description":"Video hearing capability status"}},"required":["accessScheme","commonPlatform","courtId","interviewRooms","videoHearings"]},"CourtTranslation":{"type":"object","description":"Translation object to create or update","properties":{"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"email":{"type":"string","description":"The email address for Translation services","maxLength":254,"minLength":0,"pattern":"^(|[A-Za-z0-9._+-]+@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.[A-Za-z]{2,})$"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"phoneNumber":{"type":"string","description":"The phone number for Translation services","maxLength":20,"minLength":0,"pattern":"^(|(\\+44)?[0-9 ()-]{10,20})$"}},"required":["courtId"]},"CourtTranslation_CourtDetailsView":{"type":"object","properties":{"courtId":{"type":"string","format":"uuid","description":"The ID of the associated Court"},"email":{"type":"string","description":"The email address for Translation services","maxLength":254,"minLength":0,"pattern":"^(|[A-Za-z0-9._+-]+@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.[A-Za-z]{2,})$"},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"phoneNumber":{"type":"string","description":"The phone number for Translation services","maxLength":20,"minLength":0,"pattern":"^(|(\\+44)?[0-9 ()-]{10,20})$"}},"required":["courtId"]},"CourtWithDistance":{"type":"object","properties":{"courtId":{"type":"string","format":"uuid"},"courtName":{"type":"string"},"courtSlug":{"type":"string"},"distance":{"type":"number"}}},"ExceptionResponse":{"type":"object","properties":{"message":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"OpeningHourType":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"name":{"type":"string","description":"The name","minLength":1},"nameCy":{"type":"string","description":"The Welsh language name","minLength":1}},"required":["name","nameCy"]},"OpeningHourType_CourtDetailsView":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"name":{"type":"string","description":"The name","minLength":1},"nameCy":{"type":"string","description":"The Welsh language name","minLength":1}},"required":["name","nameCy"]},"OpeningTimesDetail":{"type":"object","properties":{"closingTime":{"type":"string","format":"time-local","description":"Closing time"},"dayOfWeek":{"type":"string","description":"Day of the week or every day.","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY","EVERYDAY"]},"openingTime":{"type":"string","format":"time-local","description":"Opening time"}},"required":["closingTime","dayOfWeek","openingTime"]},"OpeningTimesDetail_CourtDetailsView":{"type":"object","properties":{"closingTime":{"type":"string","format":"time-local","description":"Closing time"},"dayOfWeek":{"type":"string","description":"Day of the week or every day.","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY","EVERYDAY"]},"openingTime":{"type":"string","format":"time-local","description":"Opening time"}},"required":["closingTime","dayOfWeek","openingTime"]},"Region":{"type":"object","properties":{"country":{"type":"string","description":"The Region's country","maxLength":250,"minLength":5},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"name":{"type":"string","description":"The name of the Region","maxLength":250,"minLength":5}},"required":["name"]},"Region_CourtDetailsView":{"type":"object","properties":{"country":{"type":"string","description":"The Region's country","maxLength":250,"minLength":5},"id":{"type":"string","format":"uuid","description":"The internal ID - assigned by the server during creation","readOnly":true},"name":{"type":"string","description":"The name of the Region","maxLength":250,"minLength":5}},"required":["name"]}},"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","name":"bearerAuth","scheme":"bearer","type":"http"}}}}
