{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/appendix-com/json-schema/appendix-com-get-api-v1-prescribing-encounters-id-details-response-schema.json",
  "title": "GetApiV1PrescribingEncountersIdDetailsResponse",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/appendix-com-prescribing-openapi-generated.yml#/components/schemas/GetApiV1PrescribingEncountersIdDetailsResponse",
  "type": "object",
  "properties": {
    "encounterId": {
      "type": "string"
    },
    "externalId": {
      "type": "string"
    },
    "createdAt": {
      "type": "string"
    },
    "sandbox": {
      "type": "boolean"
    },
    "status": {
      "type": "string"
    },
    "dataVisibility": {
      "type": "string"
    },
    "dataSharingConsentAt": {
      "type": "string"
    },
    "patient": {
      "type": "object"
    },
    "clinicalLetter": {
      "type": "string"
    },
    "submittedAt": {
      "type": "string"
    },
    "conversation": {
      "type": "array"
    },
    "prescriptions": {
      "type": "array"
    },
    "rxCount": {
      "type": "integer"
    }
  }
}