{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "A2AFhirContextExtensionModel",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "fhirUrl"
  ],
  "properties": {
    "fhirUrl": {
      "type": "string",
      "description": "The URL of the FHIR server to query",
      "minLength": 1
    },
    "fhirToken": {
      "type": [
        "null",
        "string"
      ],
      "description": "An optional bearer token allowing authorized access to the FHIR URL"
    },
    "patientId": {
      "type": [
        "null",
        "string"
      ],
      "description": "An optional scoped patient id. If the patient id exists as a 'patient' claim in the bearer token, it will take priority over this property"
    }
  }
}