{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/filetypeconverters-com/json-schema/filetypeconverters-com-pairs-list-schema.json",
  "title": "PairsList",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/filetypeconverters-com-openapi.json#/components/schemas/PairsList",
  "type": "object",
  "required": [
    "count",
    "pairs"
  ],
  "properties": {
    "count": {
      "type": "integer"
    },
    "from": {
      "type": "string"
    },
    "to": {
      "type": "string"
    },
    "pairs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PairDescriptor"
      }
    }
  },
  "$defs": {
    "OptionSpec": {
      "type": "object",
      "required": [
        "key",
        "type",
        "default",
        "appliesTo"
      ],
      "properties": {
        "key": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "select",
            "boolean",
            "string",
            "number"
          ]
        },
        "default": {},
        "choices": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "appliesTo": {
          "type": "string",
          "enum": [
            "read",
            "write"
          ]
        }
      }
    },
    "PairDescriptor": {
      "type": "object",
      "required": [
        "from",
        "to",
        "slug",
        "page",
        "engine",
        "engineLabel",
        "mode",
        "options"
      ],
      "properties": {
        "from": {
          "type": "string"
        },
        "to": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "page": {
          "type": "string",
          "format": "uri"
        },
        "engine": {
          "type": "string"
        },
        "engineLabel": {
          "type": "string"
        },
        "mode": {
          "type": "string",
          "enum": [
            "standard",
            "ai_deep_read",
            "either"
          ]
        },
        "options": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/OptionSpec"
          }
        }
      }
    }
  }
}