{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "A data entity used or generated during workflow execution (based on prov:Entity)",
  "allOf": [
    {
      "$ref": "https://ogcincubator.github.io/bblock-prov-schema/build/annotated/ogc-utils/prov/schema.json#/$defs/Entity"
    }
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uri",
      "description": "Unique identifier for the artifact",
      "x-jsonld-id": "@id"
    },
    "type": {
      "type": "string",
      "description": "Type indicator (Entity or sub-type)",
      "x-jsonld-id": "@type"
    },
    "describedByParameter": {
      "type": "string",
      "format": "uri",
      "description": "Links to the parameter description (Input or Output) that this artifact corresponds to",
      "x-jsonld-id": "http://purl.org/wf4ever/wfprov#describedByParameter",
      "x-jsonld-type": "@id"
    },
    "value": {
      "description": "The actual value or reference to the artifact data",
      "x-jsonld-id": "http://www.w3.org/ns/prov#value"
    },
    "wasOutputFrom": {
      "type": "string",
      "format": "uri",
      "description": "The process run that generated this artifact",
      "x-jsonld-id": "http://purl.org/wf4ever/wfprov#wasOutputFrom",
      "x-jsonld-type": "@id"
    },
    "checksum": {
      "type": "object",
      "properties": {
        "algorithm": {
          "type": "string",
          "enum": [
            "MD5",
            "SHA-1",
            "SHA-256",
            "SHA-512"
          ]
        },
        "value": {
          "type": "string",
          "x-jsonld-id": "http://www.w3.org/ns/prov#value"
        }
      },
      "description": "Checksum information for data integrity"
    }
  },
  "required": [
    "id"
  ],
  "x-jsonld-extra-terms": {
    "Artifact": "http://purl.org/wf4ever/wfprov#Artifact"
  },
  "x-jsonld-vocab": "http://purl.org/wf4ever/wfprov#",
  "x-jsonld-prefixes": {
    "wfprov": "http://purl.org/wf4ever/wfprov#",
    "prov": "http://www.w3.org/ns/prov#",
    "wfdesc": "http://purl.org/wf4ever/wfdesc#"
  }
}