{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/workingproxysites-info/json-schema/workingproxysites-info-tool-detail-schema.json",
  "title": "ToolDetail",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/workingproxysites-info-openapi.json#/components/schemas/ToolDetail",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "maxLength": 100,
      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1800
    },
    "category": {
      "type": "string",
      "enum": [
        "integration",
        "scraping-api",
        "serp-api",
        "browser",
        "ip-intelligence",
        "sdk",
        "cli",
        "skill",
        "diagnostic"
      ]
    },
    "provider_slug": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100,
          "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
        },
        {
          "type": "null"
        }
      ]
    },
    "publisher": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1800
    },
    "publisher_type": {
      "type": "string",
      "enum": [
        "official",
        "community"
      ]
    },
    "website": {
      "type": "string",
      "maxLength": 1500,
      "format": "uri"
    },
    "summary": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1800
    },
    "tools": {
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1800
      }
    },
    "capabilities": {
      "maxItems": 25,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 100,
        "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
      }
    },
    "outputs": {
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1800
      }
    },
    "connection": {
      "type": "string",
      "enum": [
        "proxy",
        "http-api",
        "cdp",
        "package",
        "template",
        "database-download"
      ]
    },
    "billing_basis": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1800
    },
    "facts": {
      "minItems": 3,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "enum": [
              "delivery",
              "location",
              "network",
              "privacy",
              "access",
              "billing",
              "ipv6"
            ]
          },
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1800
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1800
          },
          "source_ids": {
            "minItems": 1,
            "maxItems": 12,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 100,
              "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
            }
          }
        },
        "required": [
          "label",
          "value",
          "source_ids"
        ],
        "additionalProperties": false
      }
    },
    "decision_rows": {
      "minItems": 2,
      "maxItems": 4,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "when": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1800
          },
          "request": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1800
          },
          "check": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1800
          },
          "billing": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1800
          },
          "source_ids": {
            "minItems": 1,
            "maxItems": 12,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 100,
              "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
            }
          }
        },
        "required": [
          "when",
          "request",
          "check",
          "billing",
          "source_ids"
        ],
        "additionalProperties": false
      }
    },
    "setup": {
      "minItems": 1,
      "maxItems": 12,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1800
      }
    },
    "limitations": {
      "minItems": 1,
      "maxItems": 12,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1800
      }
    },
    "request_examples": {
      "minItems": 1,
      "maxItems": 4,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1800
          },
          "code": {
            "type": "string",
            "minLength": 1,
            "maxLength": 6000
          },
          "source_ids": {
            "minItems": 1,
            "maxItems": 12,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 100,
              "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
            }
          }
        },
        "required": [
          "label",
          "code",
          "source_ids"
        ],
        "additionalProperties": false
      }
    },
    "response_examples": {
      "minItems": 1,
      "maxItems": 3,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1800
          },
          "code": {
            "type": "string",
            "minLength": 1,
            "maxLength": 6000
          },
          "interpretation": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1800
          },
          "source_ids": {
            "minItems": 1,
            "maxItems": 12,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 100,
              "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
            }
          }
        },
        "required": [
          "label",
          "code",
          "interpretation",
          "source_ids"
        ],
        "additionalProperties": false
      }
    },
    "sources": {
      "minItems": 1,
      "maxItems": 15,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 100,
            "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
          },
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1800
          },
          "url": {
            "type": "string",
            "maxLength": 1500,
            "format": "uri"
          },
          "checked_at": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          }
        },
        "required": [
          "id",
          "label",
          "url",
          "checked_at"
        ],
        "additionalProperties": false
      }
    },
    "checked_at": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "review_due": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "evidence": {
      "type": "string",
      "const": "documented"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "provider_url": {
      "anyOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "null"
        }
      ]
    },
    "review_overdue": {
      "type": "boolean"
    }
  },
  "required": [
    "slug",
    "name",
    "category",
    "provider_slug",
    "publisher",
    "publisher_type",
    "website",
    "summary",
    "tools",
    "capabilities",
    "outputs",
    "connection",
    "billing_basis",
    "facts",
    "setup",
    "limitations",
    "sources",
    "checked_at",
    "review_due",
    "evidence",
    "url",
    "provider_url",
    "review_overdue"
  ],
  "additionalProperties": false
}