{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/topalternatives-to/json-schema/topalternatives-to-tool-schema.json",
  "title": "Tool",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/topalternatives-to-openapi.json#/components/schemas/Tool",
  "type": "object",
  "required": [
    "slug",
    "name",
    "website",
    "categories",
    "pricing",
    "verifiedAt",
    "url"
  ],
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "tagline": {
      "type": "string"
    },
    "website": {
      "type": "string",
      "format": "uri"
    },
    "vendor": {
      "type": "string"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "pricing": {
      "type": "object",
      "properties": {
        "model": {
          "type": "string"
        },
        "freeTier": {
          "type": "boolean"
        },
        "freeTrial": {
          "type": [
            "string",
            "null"
          ]
        },
        "startingPrice": {
          "type": [
            "object",
            "null"
          ],
          "description": "Null when the vendor does not publish a price.",
          "properties": {
            "amount": {
              "type": "number"
            },
            "currency": {
              "type": "string"
            },
            "period": {
              "type": "string",
              "enum": [
                "month",
                "year",
                "one-time",
                "usage"
              ]
            },
            "unit": {
              "type": "string"
            }
          }
        },
        "sourceUrl": {
          "type": "string",
          "format": "uri",
          "description": "The vendor page the price was read from."
        },
        "checkedAt": {
          "type": "string",
          "format": "date",
          "description": "The day a human opened that page and confirmed it."
        }
      }
    },
    "status": {
      "type": "object",
      "description": "Present only when the tool has been acquired, is winding down, or is discontinued.",
      "properties": {
        "acquisition": {
          "type": "string",
          "enum": [
            "operating",
            "winding-down",
            "shut-down"
          ]
        },
        "acquirer": {
          "type": "string"
        },
        "date": {
          "type": "string"
        },
        "source": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "verifiedAt": {
      "type": "string",
      "format": "date"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The full profile, with verdict, pros and cons and screenshots."
    },
    "markdownUrl": {
      "type": "string",
      "format": "uri"
    },
    "alternativesUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    }
  }
}