{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/citedindex-com/json-schema/citedindex-com-listings-export-schema.json",
  "title": "ListingsExport",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/citedindex-com-openapi.yml#/components/schemas/ListingsExport",
  "type": "object",
  "properties": {
    "directory": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "generatedAt": {
      "type": "string"
    },
    "count": {
      "type": "integer",
      "description": "Total Published count (not the page size)."
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pass as ?cursor= for the next page; null when exhausted."
    },
    "listings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListingExportRecord"
      }
    }
  },
  "$defs": {
    "ListingExportRecord": {
      "type": "object",
      "required": [
        "slug",
        "name",
        "url",
        "tier"
      ],
      "properties": {
        "slug": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "tagline": {
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "type": "string",
          "description": "Canonical listing page on this directory."
        },
        "websiteUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "tier": {
          "type": "string"
        },
        "categories": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "apiAvailable": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Derived: true when apiAccess is yes OR partial, because the question a boolean answers is whether an API exists at all. Read apiAccess for the qualification."
        },
        "apiAccess": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "yes",
            "partial",
            "no",
            null
          ],
          "description": "The sourced answer to \"Can you pull the data into your own stack?\". \"partial\" means an API exists but is gated to a higher plan."
        },
        "pricing": {
          "type": [
            "string",
            "null"
          ],
          "description": "The entry price as a prose fragment, from the typed price columns: \"from $99/month\", \"free, then $189/month\", \"on quote\" for a vendor whose price is researched and published nowhere, and null when no price has been collected — never a coarse bucket. ONE FIELD, and it carries the billing commitment when the figure requires one: \"from $2,417/month billed annually\" is a yearly contract divided by twelve, not a month-to-month rate. Where the row holds a real month-to-month price that is what the figure is, and no term is stated. Do not parse the amount out of this string expecting a monthly rate."
        },
        "verdict": {
          "type": [
            "string",
            "null"
          ]
        },
        "lastVerified": {
          "type": [
            "string",
            "null"
          ],
          "description": "ISO date of last fact verification."
        }
      }
    }
  }
}