{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adscrawl/main/json-schema/adscrawl-extraction-template-schema.json",
  "title": "ExtractionTemplate",
  "x-generated": "2026-10-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adscrawl-openapi.yaml#/components/schemas/ExtractionTemplate",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "urlPattern": {
      "type": "string"
    },
    "exampleUrl": {
      "type": "string"
    },
    "version": {
      "type": "integer"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "outputFields": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "waitUntil": {
      "type": "string"
    },
    "input": {
      "type": "object",
      "additionalProperties": true
    },
    "catalog": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}