{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://toolpulse.avanciq.com/api/feed.schema.json",
 "title": "Toolpulse feed row",
 "type": "object",
 "required": [
  "id",
  "type",
  "name",
  "page",
  "json",
  "first_seen",
  "last_seen",
  "flags"
 ],
 "properties": {
  "id": {
   "type": "string"
  },
  "type": {
   "enum": [
    "mcp-server",
    "skill",
    "cursor-rules",
    "gpt-action",
    "a2a-agent"
   ]
  },
  "name": {
   "type": "string"
  },
  "title": {
   "type": [
    "string",
    "null"
   ]
  },
  "page": {
   "type": "string",
   "format": "uri"
  },
  "json": {
   "type": "string",
   "format": "uri"
  },
  "sources": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "first_seen": {
   "type": [
    "string",
    "null"
   ]
  },
  "last_seen": {
   "type": [
    "string",
    "null"
   ]
  },
  "changed_at": {
   "type": [
    "string",
    "null"
   ]
  },
  "flags": {
   "type": "integer",
   "minimum": 0
  },
  "flags_url": {
   "type": [
    "string",
    "null"
   ]
  },
  "works_at_last_check": {
   "type": [
    "boolean",
    "null"
   ]
  },
  "last_check": {
   "type": [
    "string",
    "null"
   ]
  },
  "tools": {
   "type": [
    "integer",
    "null"
   ]
  },
  "current_hash": {
   "type": [
    "string",
    "null"
   ]
  }
 },
 "additionalProperties": false
}