{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/filetypeconverters-com/json-schema/filetypeconverters-com-formats-response-schema.json",
  "title": "FormatsResponse",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/filetypeconverters-com-openapi.json#/components/schemas/FormatsResponse",
  "type": "object",
  "required": [
    "formats",
    "pairs"
  ],
  "properties": {
    "formats": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Format"
      }
    },
    "pairs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FormatPair"
      }
    }
  },
  "$defs": {
    "Format": {
      "type": "object",
      "required": [
        "id",
        "name",
        "extensions",
        "mimeTypes",
        "hub",
        "browserCapable",
        "description"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "extensions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mimeTypes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "hub": {
          "type": "string"
        },
        "family": {
          "type": "string"
        },
        "browserCapable": {
          "type": "boolean"
        },
        "officialSpecUrl": {
          "type": "string",
          "format": "uri"
        },
        "description": {
          "type": "string"
        }
      }
    },
    "FormatPair": {
      "type": "object",
      "required": [
        "from",
        "to",
        "slug",
        "resolution"
      ],
      "properties": {
        "from": {
          "type": "string"
        },
        "to": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "resolution": {
          "type": "object",
          "properties": {
            "engine": {
              "type": "string"
            },
            "phase": {
              "type": "integer"
            },
            "enabled": {
              "type": "boolean"
            },
            "runsInBrowser": {
              "type": "boolean"
            },
            "requiresVision": {
              "type": "boolean"
            },
            "supportsVision": {
              "type": "boolean"
            }
          }
        }
      }
    }
  }
}