{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://smart.who.int/base/StructureDefinition-KGEvidenceLocation.schema.json",
  "title": "Knowledge graph: evidence location",
  "description": "Where a node or edge came from in its source. Required on anything not mechanically derived.",
  "type": "object",
  "properties": {
    "resourceType": {
      "type": "string",
      "const": "KGEvidenceLocation",
      "description": "Resource type identifier for KGEvidenceLocation logical model"
    },
    "location": {
      "type": "string",
      "description": "file:line, a spreadsheet sheet and cell, or a BPMN element id."
    },
    "quote": {
      "type": "string",
      "description": "Verbatim text from the source."
    },
    "artifact": {
      "type": "string",
      "description": "The generated artifact affected, where one exists."
    }
  },
  "required": [
    "resourceType",
    "location"
  ],
  "resourceDefinition": "http://smart.who.int/base/StructureDefinition/KGEvidenceLocation",
  "fhir:parent": "http://hl7.org/fhir/StructureDefinition/Base"
}