{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/presentofai-com/json-schema/presentofai-com-trending-response-schema.json",
  "title": "TrendingResponse",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/presentofai-com-openapi.json#/components/schemas/TrendingResponse",
  "type": "object",
  "required": [
    "source",
    "attribution",
    "license",
    "url",
    "topics",
    "hiring_most"
  ],
  "properties": {
    "source": {
      "type": "string",
      "const": "Present of AI"
    },
    "attribution": {
      "type": "string",
      "description": "Data from presentofai.com, CC BY 4.0, link back to the page you use"
    },
    "license": {
      "type": "string",
      "const": "CC BY 4.0"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Canonical presentofai.com page for this response. Link back to it."
    },
    "topics": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "companies": {
            "type": "integer"
          },
          "updated": {
            "type": "string"
          },
          "page_url": {
            "type": "string",
            "format": "uri"
          },
          "example_companies": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "latest_news": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        }
      }
    },
    "hiring_most": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "open_roles": {
            "type": "integer"
          },
          "page_url": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    }
  }
}