{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/heyclau-de/json-schema/heyclau-de-registry-trending-response-schema.json",
  "title": "RegistryTrendingResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/heyclau-de-openapi.json#/components/schemas/RegistryTrendingResponse",
  "type": "object",
  "properties": {
    "schemaVersion": {
      "type": "number"
    },
    "kind": {
      "type": "string",
      "enum": [
        "registry-trending"
      ]
    },
    "category": {
      "type": "string"
    },
    "platform": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "count": {
      "type": "integer",
      "minimum": 0
    },
    "signalsAvailable": {
      "type": "object",
      "properties": {
        "votes": {
          "type": "boolean"
        },
        "community": {
          "type": "boolean"
        },
        "intent": {
          "type": "boolean"
        }
      },
      "required": [
        "votes",
        "community",
        "intent"
      ]
    },
    "entries": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "canonicalUrl": {
            "type": "string",
            "format": "uri"
          },
          "platforms": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 12
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 32
          },
          "dateAdded": {
            "type": "string"
          },
          "score": {
            "type": "number"
          },
          "reasons": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 6
          },
          "trustSignals": {
            "type": "object",
            "properties": {
              "sourceStatus": {
                "type": "string"
              }
            },
            "required": [
              "sourceStatus"
            ]
          }
        },
        "required": [
          "category",
          "slug",
          "title",
          "description",
          "platforms",
          "tags",
          "dateAdded",
          "score",
          "reasons",
          "trustSignals"
        ]
      },
      "maxItems": 50
    }
  },
  "required": [
    "schemaVersion",
    "kind",
    "category",
    "platform",
    "limit",
    "count",
    "signalsAvailable",
    "entries"
  ]
}