{"openapi":"3.1.1","info":{"title":"InHome Development Discovery API","version":"1.0.0","description":"Read-only public company, service, capability, product, technology-disclosure and contact data."},"servers":[{"url":"https://inhome.cy"}],"paths":{"/api/company":{"get":{"operationId":"getCompanyResponse","summary":"Get public company discovery data","responses":{"200":{"description":"Public discovery data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResponse"}}}}}}},"/api/services":{"get":{"operationId":"getServicesResponse","summary":"Get public services discovery data","responses":{"200":{"description":"Public discovery data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServicesResponse"}}}}}}},"/api/capabilities":{"get":{"operationId":"getCapabilitiesResponse","summary":"Get public capabilities discovery data","responses":{"200":{"description":"Public discovery data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitiesResponse"}}}}}}},"/api/cases":{"get":{"operationId":"getCasesResponse","summary":"Get public cases discovery data","responses":{"200":{"description":"Public discovery data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CasesResponse"}}}}}}},"/api/technologies":{"get":{"operationId":"getTechnologiesResponse","summary":"Get public technologies discovery data","responses":{"200":{"description":"Public discovery data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TechnologiesResponse"}}}}}}},"/api/contact":{"get":{"operationId":"getContactResponse","summary":"Get public contact discovery data","responses":{"200":{"description":"Public discovery data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResponse"}}}}}}}},"components":{"schemas":{"CompanyResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"company":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"},"entity_type":{"type":"string","const":"company"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"location":{"type":"string"},"primary_market":{"type":"string"},"positioning":{"type":"string"},"legal_identifier":{"type":"null"},"legal_identifier_status":{"type":"string","const":"unknown"},"service_ids":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},"contact_url":{"type":"string","format":"uri"}},"required":["id","entity_type","name","url","location","primary_market","positioning","legal_identifier","legal_identifier_status","service_ids","contact_url"],"additionalProperties":false}},"required":["company"],"additionalProperties":false},"ServicesResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"services":{"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"string","const":"service"},"id":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"},"name":{"type":"string"},"description":{"type":"string"},"competency_ids":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},"capability_ids":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},"case_ids":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},"url":{"type":"string","format":"uri"}},"required":["entity_type","id","name","description","competency_ids","capability_ids","case_ids","url"],"additionalProperties":false}}},"required":["services"],"additionalProperties":false},"CapabilitiesResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"capabilities":{"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"string","const":"capability"},"id":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"},"name":{"type":"string"},"description":{"type":"string"},"service_ids":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},"case_ids":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}},"required":["entity_type","id","name","description","service_ids","case_ids"],"additionalProperties":false}}},"required":["capabilities"],"additionalProperties":false},"CasesResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cases":{"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"string","const":"case"},"id":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"},"name":{"type":"string"},"service_ids":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},"capability_ids":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}},"description":{"type":"string"},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["entity_type","id","name","service_ids","capability_ids","description","url"],"additionalProperties":false}}},"required":["cases"],"additionalProperties":false},"TechnologiesResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"technologies":{"type":"object","properties":{"entity_type":{"type":"string","const":"technology"},"disclosure_status":{"type":"string","const":"unknown"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"},"name":{"type":"string"},"case_ids":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9-]*$"}}},"required":["id","name","case_ids"],"additionalProperties":false}},"note":{"type":"string"}},"required":["entity_type","disclosure_status","items","note"],"additionalProperties":false}},"required":["technologies"],"additionalProperties":false},"ContactResponse":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contact":{"type":"object","properties":{"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"address":{"type":"string"},"build_url":{"type":"string","format":"uri"},"whatsapp_url":{"type":"string","format":"uri"},"telegram_url":{"type":"string","format":"uri"}},"required":["email","address","build_url","whatsapp_url","telegram_url"],"additionalProperties":false}},"required":["contact"],"additionalProperties":false}}}}