{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://json.schemastore.org/gematik-test-hcp1s.json",
  "title": "HCPIsRepository",
  "description": "List of all hcpis",
  "definitions": {
    "Hcpi": {
      "title": "HCPI",
      "description": "An HCPI",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "hcpiData": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "name": {
              "type": "string"
            },
            "telematik-id": {
              "type": "string"
            },
            "hcpiRole": {
              "type": "string"
            }
          },
          "required": ["name", "telematik-id", "hcpiRole"]
        },
        "ownerTestsuite": {
          "type": "string"
        },
        "cards": {
          "type": "array",
          "items": {
            "$ref": "https://json.schemastore.org/gematik-test-patients.json#/definitions/Card",
            "type": "object"
          }
        }
      },
      "required": ["hcpiData", "cards"]
    }
  },
  "type": "object",
  "properties": {
    "hcpis": {
      "type": "object",
      "existingJavaType": "java.util.Map<String, Hcpi>",
      "additionalProperties": {
        "$ref": "#/definitions/Hcpi",
        "type": "object"
      }
    }
  }
}
