{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amigo/main/json-schema/amigo-fhir-status-response-schema.json",
  "title": "FhirStatusResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amigo-fhir-api-openapi.yml#/components/schemas/FhirStatusResponse",
  "properties": {
    "configured": {
      "type": "boolean",
      "title": "Configured"
    },
    "connector_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Connector Type"
    },
    "event_count": {
      "type": "integer",
      "title": "Event Count"
    },
    "entity_count": {
      "type": "integer",
      "title": "Entity Count"
    },
    "entity_type_counts": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "Entity Type Counts"
    },
    "resource_type_counts": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "Resource Type Counts"
    },
    "last_poll_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Poll At"
    },
    "last_change_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Change At"
    },
    "sync_healthy": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sync Healthy"
    }
  },
  "type": "object",
  "required": [
    "configured",
    "event_count",
    "entity_count"
  ]
}