{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/luma/main/json-schema/v1_entity_lookup_get_200_response.json", "title": "V1 Entity Lookup Get 200 Response", "type": "object", "properties": { "entity": { "anyOf": [ { "oneOf": [ { "type": "object", "properties": { "type": { "type": "string", "const": "calendar" }, "calendar": { "type": "object", "properties": { "id": { "type": "string" }, "api_id": { "type": "string", "deprecated": true, "description": "Use `id` instead." }, "name": { "type": "string" }, "slug": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "avatar_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ] } }, "required": [ "id", "api_id", "name", "slug" ] } }, "required": [ "type", "calendar" ] }, { "type": "object", "properties": { "type": { "type": "string", "const": "event" }, "event": { "type": "object", "properties": { "id": { "type": "string" }, "api_id": { "type": "string", "deprecated": true, "description": "Use `id` instead." }, "name": { "type": "string" }, "slug": { "type": "string" }, "cover_url": { "type": "string" }, "start_at": { "type": "string", "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "description": "ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z" }, "end_at": { "type": "string", "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "description": "ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z" } }, "required": [ "id", "api_id", "name", "slug", "cover_url", "start_at", "end_at" ] } }, "required": [ "type", "event" ] } ] }, { "type": "null" } ] } }, "required": [ "entity" ] }