{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A FHIR R4 Provenance resource. The record is the resource itself: its JSON fields as FHIR defines them, plus $type and the HATS integrity fields. Decimals are strings, since atproto has no floats; codes keep their code system's case.",
      "key": "tid",
      "record": {
        "properties": {
          "prev": {
            "ref": "health.hats.defs#prev",
            "type": "ref"
          },
          "resourceType": {
            "const": "Provenance",
            "description": "FHIR resource type.",
            "type": "string"
          },
          "signatures": {
            "ref": "health.hats.defs#signatures",
            "type": "ref"
          }
        },
        "required": [
          "resourceType"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "health.hats.fhir.provenance",
  "lexicon": 1
}
