{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/indexagentica-com/json-schema/indexagentica-com-longform-index-schema.json",
  "title": "LongformIndex",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/indexagentica-com-openapi.json#/components/schemas/LongformIndex",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "generated": {
      "type": "string",
      "format": "date-time"
    },
    "site_url": {
      "type": "string",
      "format": "uri"
    },
    "schema": {
      "type": "string",
      "format": "uri"
    },
    "openapi": {
      "type": "string",
      "format": "uri"
    },
    "llms_txt": {
      "type": "string",
      "format": "uri"
    },
    "repository": {
      "type": "string",
      "format": "uri"
    },
    "contribute_url": {
      "type": "string",
      "format": "uri"
    },
    "longform": {
      "type": "string",
      "format": "uri"
    },
    "license": {
      "type": "object"
    },
    "counts": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer"
        },
        "by_type": {
          "type": "object",
          "additionalProperties": {
            "type": "integer"
          }
        }
      }
    },
    "types": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LongformSummary"
      }
    }
  },
  "$defs": {
    "LongformLinks": {
      "type": "object",
      "properties": {
        "html": {
          "type": "string",
          "format": "uri"
        },
        "markdown": {
          "type": "string",
          "format": "uri"
        },
        "json": {
          "type": "string",
          "format": "uri"
        },
        "source": {
          "type": "string",
          "format": "uri"
        },
        "skill_md": {
          "type": "string",
          "format": "uri"
        },
        "zip": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "LongformSummary": {
      "type": "object",
      "required": [
        "type",
        "id",
        "title",
        "links"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "guide",
            "comparison",
            "stack",
            "skill"
          ]
        },
        "id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        },
        "author": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "published": {
          "type": "string",
          "format": "date"
        },
        "updated": {
          "type": "string",
          "format": "date"
        },
        "last_verified": {
          "type": "string",
          "format": "date"
        },
        "entries": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Directory entry ids this item references"
        },
        "links": {
          "$ref": "#/$defs/LongformLinks"
        }
      }
    }
  }
}