{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/listme-name/json-schema/listme-name-ranking-schema.json",
  "title": "Ranking",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/listme-name-openapi.yml#/components/schemas/Ranking",
  "type": "object",
  "required": [
    "slug",
    "name",
    "entries"
  ],
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "filter": {
      "type": [
        "string",
        "null"
      ]
    },
    "available_filters": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "page": {
      "type": "string",
      "format": "uri"
    },
    "json": {
      "type": "string",
      "format": "uri"
    },
    "updated": {
      "type": "string",
      "format": "date"
    },
    "intro": {
      "type": "string"
    },
    "criteria": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "specs": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "how_to_choose": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "faq": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "entries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Entry"
      }
    },
    "notes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "Entry": {
      "type": "object",
      "required": [
        "rank",
        "score",
        "product"
      ],
      "properties": {
        "rank": {
          "type": "integer",
          "minimum": 1
        },
        "score": {
          "type": "number",
          "minimum": 0,
          "maximum": 100
        },
        "verdict": {
          "type": "string"
        },
        "best_for": {
          "type": "string"
        },
        "spec": {
          "type": "object",
          "additionalProperties": true
        },
        "product": {
          "$ref": "#/$defs/Product"
        }
      }
    },
    "Product": {
      "type": "object",
      "required": [
        "slug",
        "name",
        "kind",
        "website",
        "page"
      ],
      "properties": {
        "slug": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "kind": {
          "type": "string"
        },
        "website": {
          "type": "string",
          "format": "uri"
        },
        "page": {
          "type": "string",
          "format": "uri"
        },
        "tagline": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        },
        "developer": {
          "type": "string"
        },
        "author": {
          "type": "string"
        },
        "platforms": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "formats": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "pricing": {
          "type": "string"
        },
        "price_note": {
          "type": "string"
        },
        "free_to_use": {
          "type": "boolean"
        },
        "open_source": {
          "type": "boolean"
        },
        "license": {
          "type": "string"
        },
        "source": {
          "type": "string",
          "format": "uri"
        },
        "strengths": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "limits": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "assessment": {
          "type": "string",
          "enum": [
            "documentation"
          ],
          "description": "Documentation-based assessment, not hands-on testing."
        },
        "sources": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "title",
              "url"
            ],
            "properties": {
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        },
        "checked": {
          "type": "string",
          "format": "date",
          "description": "Date the facts were last checked against the vendor."
        },
        "connected_to_publisher": {
          "type": "boolean"
        },
        "cover": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}