{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {
    "ExpectedHash": {
      "properties": {
        "algorithm": {
          "type": "string"
        },
        "hex": {
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "algorithm",
        "hex"
      ],
      "description": "ExpectedHash is a publisher's hash of material: its algorithm and lower-case hex digest."
    }
  },
  "properties": {
    "locator": {
      "type": "string"
    },
    "expected": {
      "oneOf": [
        {
          "$ref": "#/$defs/ExpectedHash"
        },
        {
          "type": "null"
        }
      ]
    },
    "expected_source": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "label": {
      "type": "string"
    }
  },
  "type": "object",
  "required": [
    "locator",
    "type"
  ],
  "title": "AcquisitionTarget",
  "description": "AcquisitionTarget is the payload of a dawn/acquisition-target/1 record: what an intake tool is to fetch."
}
