{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "project ID from create/list."
    },
    "requestId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "description": "request ID from create/list."
    },
    "inventory": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "maxLength": 4096,
            "format": "uri"
          },
          "source": {
            "type": "string",
            "enum": [
              "url_list",
              "sitemap_export",
              "cms_export",
              "repository_export",
              "search_export"
            ]
          },
          "important": {
            "type": "boolean"
          },
          "excluded": {
            "type": "boolean"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "description": "inventory; see schema."
    },
    "seeds": {
      "description": "seeds; see schema.",
      "maxItems": 10,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 4096,
        "format": "uri"
      },
      "default": []
    },
    "inventoryComplete": {
      "description": "inventory complete; see schema.",
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "projectId",
    "requestId",
    "inventory"
  ],
  "additionalProperties": false
}
