{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Processing extension",
  "description": "Indicates from which processing chain data originates and how the data itself has been produced.",
  "allOf": [
    {
      "anyOf": [
        {
          "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.json"
        },
        {
          "$ref": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.json"
        }
      ]
    },
    {
      "$ref": "https://stac-extensions.github.io/processing/v1.2.0/schema.json"
    },
    {
      "properties": {
        "processing:software": {
          "type": "object",
          "x-jsonld-id": "https://w3id.org/ogc/stac/processing/software",
          "x-jsonld-type": "@json"
        }
      }
    }
  ],
  "x-jsonld-extra-terms": {
    "processing:expression": {
      "x-jsonld-id": "https://w3id.org/ogc/stac/processing/expression",
      "x-jsonld-type": "@json"
    },
    "processing:lineage": {
      "x-jsonld-id": "https://w3id.org/ogc/stac/processing/lineage",
      "x-jsonld-type": "xsd:string"
    },
    "processing:level": {
      "x-jsonld-id": "https://w3id.org/ogc/stac/processing/level",
      "x-jsonld-type": "xsd:string"
    },
    "processing:facility": {
      "x-jsonld-id": "https://w3id.org/ogc/stac/processing/facility",
      "x-jsonld-type": "xsd:string"
    },
    "processing:version": {
      "x-jsonld-id": "https://w3id.org/ogc/stac/processing/version",
      "x-jsonld-type": "xsd:string"
    },
    "processing:datetime": {
      "x-jsonld-id": "https://w3id.org/ogc/stac/processing/datetime",
      "x-jsonld-type": "xsd:dateTime"
    }
  },
  "x-jsonld-prefixes": {
    "processing": "https://w3id.org/ogc/stac/processing/"
  }
}