{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sourceacts-com/json-schema/sourceacts-com-watch-create-request-schema.json",
  "title": "WatchCreateRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sourceacts-com-openapi.json#/components/schemas/WatchCreateRequest",
  "properties": {
    "source": {
      "type": "string",
      "enum": [
        "all",
        "eurlex",
        "wto",
        "un",
        "uk",
        "us",
        "india",
        "brazil",
        "canada",
        "australia",
        "denmark"
      ],
      "title": "Source",
      "default": "eurlex"
    },
    "query": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "title": "Query"
    },
    "webhook_url": {
      "type": "string",
      "maxLength": 500,
      "minLength": 8,
      "title": "Webhook Url"
    },
    "document_type": {
      "type": "string",
      "enum": [
        "all",
        "regulation",
        "directive",
        "decision",
        "treaty",
        "case-law"
      ],
      "title": "Document Type",
      "default": "regulation"
    },
    "language": {
      "type": "string",
      "title": "Language",
      "default": "en"
    },
    "days": {
      "type": "integer",
      "maximum": 90.0,
      "minimum": 1.0,
      "title": "Days",
      "default": 2
    },
    "name": {
      "type": "string",
      "maxLength": 120,
      "title": "Name",
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "webhook_url"
  ]
}