{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"IntegrationsList","description":"GET /api/offices/{officeId}/integrations response shape. List of integrations with _meta and _links (HATEOAS).","type":"object","required":["integrations"],"properties":{"integrations":{"type":"array","items":{"type":"object","required":["id","officeId","type","status","createdAt","updatedAt"],"properties":{"id":{"type":"string"},"officeId":{"type":"string"},"type":{"type":"string","enum":["trello","github"]},"status":{"type":"string","enum":["pending","connected","error","skipped"]},"externalId":{"type":"string"},"externalAccount":{"type":"string"},"metadata":{"type":"object","additionalProperties":true},"lastSyncAt":{"type":"string","format":"date-time"},"errorMessage":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false}},"_meta":{"type":"object","properties":{"count":{"type":"integer","minimum":0}}},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string"}}},"office":{"type":"object","properties":{"href":{"type":"string"}}},"profile":{"type":"object","properties":{"href":{"type":"string"}}}}}},"additionalProperties":false}