{
  "$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."
    },
    "text": {
      "description": "text; see schema.",
      "type": "string",
      "maxLength": 2000000
    },
    "counts": {
      "description": "counts; see schema.",
      "type": "object",
      "properties": {
        "domains": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100000
        },
        "urls": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100000
        },
        "uploaded_on": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        }
      },
      "required": [
        "domains",
        "urls"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "projectId"
  ],
  "additionalProperties": false
}
