{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"http://localhost","description":"Generated server url"}],"paths":{"/listings/{id}":{"put":{"tags":["hmc-inbound-controller"],"operationId":"getResponseFromHmi","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HearingDetailsRequest"}}},"required":true},"responses":{"202":{"description":"Response is valid"},"400":{"description":"Invalid case listing Id"},"404":{"description":"Case listing Id could not be found"},"500":{"description":"Error occurred on the server."}}}},"/":{"get":{"tags":["root-controller"],"operationId":"welcome","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}}}},"components":{"schemas":{"ErrorDetails":{"type":"object","properties":{"errCode":{"type":"integer","format":"int32"},"errDesc":{"type":"string"},"errLinkId":{"type":"string"}}},"Hearing":{"type":"object","properties":{"listingRequestId":{"type":"string"},"hearingCaseVersionId":{"type":"integer","format":"int32"},"hearingCaseJurisdiction":{"$ref":"#/components/schemas/JsonNode"},"hearingCaseStatus":{"$ref":"#/components/schemas/HearingCaseStatus"},"hearingStatus":{"$ref":"#/components/schemas/HearingStatus"},"hearingIdCaseHQ":{"type":"string"},"hearingType":{"$ref":"#/components/schemas/JsonNode"},"hearingCancellationReason":{"type":"string","maxLength":70,"minLength":0},"hearingStartTime":{"type":"string","format":"date-time"},"hearingEndTime":{"type":"string","format":"date-time"},"hearingPrivate":{"type":"boolean"},"hearingRisk":{"type":"boolean"},"hearingTranslatorRequired":{"type":"boolean"},"hearingCreatedDate":{"type":"string","format":"date-time"},"hearingCreatedBy":{"type":"string"},"hearingVenue":{"$ref":"#/components/schemas/HearingVenue"},"hearingRoom":{"$ref":"#/components/schemas/HearingRoom"},"hearingVhStatus":{"type":"string"},"hearingVhId":{"type":"string"},"hearingVhGroupId":{"type":"string"},"hearingAttendees":{"type":"array","items":{"$ref":"#/components/schemas/HearingAttendee"}},"hearingJohs":{"type":"array","items":{"$ref":"#/components/schemas/HearingJoh"}},"hearingSessions":{"type":"array","items":{"$ref":"#/components/schemas/HearingSession"}},"hearingCaseIdHMCTS":{"type":"string"}},"required":["hearingCaseStatus","hearingCaseVersionId"]},"HearingAttendee":{"type":"object","properties":{"entityIdCaseHQ":{"type":"string"},"entityId":{"type":"string","maxLength":40,"minLength":0},"entityType":{"type":"string"},"entityClass":{"type":"string"},"entityRole":{"$ref":"#/components/schemas/JsonNode"},"hearingChannel":{"$ref":"#/components/schemas/HearingChannel"}}},"HearingCaseStatus":{"type":"object","properties":{"code":{"type":"string"},"description":{"type":"string"}},"required":["code"]},"HearingChannel":{"type":"object","properties":{"code":{"type":"string"},"description":{"type":"string"}}},"HearingDetailsRequest":{"type":"object","properties":{"hearingResponse":{"$ref":"#/components/schemas/HearingResponse"},"err":{"$ref":"#/components/schemas/ErrorDetails"}}},"HearingJoh":{"type":"object","properties":{"johId":{"type":"string"},"johCode":{"type":"string","maxLength":30,"minLength":0},"johName":{"type":"string"},"johPosition":{"$ref":"#/components/schemas/JsonNode"},"isPresiding":{"type":"boolean"}}},"HearingResponse":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/MetaResponse"},"hearing":{"$ref":"#/components/schemas/Hearing"}},"required":["hearing","meta"]},"HearingRoom":{"type":"object","properties":{"locationIdCaseHQ":{"type":"string"},"locationName":{"type":"string","maxLength":70,"minLength":0},"locationRegion":{"$ref":"#/components/schemas/JsonNode"},"locationCluster":{"$ref":"#/components/schemas/JsonNode"},"locationReferences":{"$ref":"#/components/schemas/JsonNode"}}},"HearingSession":{"type":"object","properties":{"hearingCaseHQ":{"type":"string"},"hearingType":{"$ref":"#/components/schemas/JsonNode"},"hearingStatus":{"$ref":"#/components/schemas/HearingStatus"},"hearingStartTime":{"type":"string","format":"date-time"},"hearingEndTime":{"type":"string","format":"date-time"},"hearingSequence":{"type":"integer","format":"int32"},"hearingPrivate":{"type":"boolean"},"hearingRisk":{"type":"boolean"},"hearingTranslatorRequired":{"type":"boolean"},"hearingVenue":{"$ref":"#/components/schemas/HearingVenue"},"hearingRoom":{"$ref":"#/components/schemas/HearingRoom"},"hearingVhStatus":{"type":"string"},"hearingVhId":{"type":"string"},"hearingAttendees":{"type":"array","items":{"$ref":"#/components/schemas/HearingAttendee"}},"hearingJohs":{"type":"array","items":{"$ref":"#/components/schemas/HearingJoh"}}}},"HearingStatus":{"type":"object","properties":{"code":{"type":"string","enum":["DRAFT, FIXED, PROV, CNCL"],"maxLength":30,"minLength":0},"description":{"type":"string"}},"required":["code"]},"HearingVenue":{"type":"object","properties":{"locationIdCaseHQ":{"type":"string"},"locationName":{"type":"string"},"locationRegion":{"$ref":"#/components/schemas/JsonNode"},"locationCluster":{"$ref":"#/components/schemas/JsonNode"},"locationReferences":{"type":"array","items":{"$ref":"#/components/schemas/VenueLocationReference"}}}},"JsonNode":{},"MetaResponse":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"transactionIdCaseHQ":{"type":"string","maxLength":60,"minLength":0}},"required":["timestamp","transactionIdCaseHQ"]},"VenueLocationReference":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string","maxLength":30,"minLength":0}},"required":["value"]}}}}
