{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/web3icon-xyz/json-schema/web3icon-xyz-agent-asset-schema.json",
  "title": "AgentAsset",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/web3icon-xyz-openapi.json#/components/schemas/AgentAsset",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "pngUrl": {
      "type": "string"
    },
    "svgUrl": {
      "type": "string"
    },
    "jsonUrl": {
      "type": "string"
    },
    "embedUrl": {
      "type": "string",
      "format": "uri"
    },
    "usageReportUrl": {
      "type": "string",
      "format": "uri"
    },
    "license": {
      "$ref": "#/$defs/AssetLicense"
    }
  },
  "required": [
    "slug",
    "title"
  ],
  "$defs": {
    "AssetLicense": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "const": "Web3icon Free Use License"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "attribution": {
          "type": "string",
          "const": "not-required"
        },
        "redistribution": {
          "type": "string",
          "const": "prohibited"
        },
        "copyrightHolder": {
          "type": "string",
          "const": "Yuhitsuro"
        },
        "copyrightUrl": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "name",
        "url",
        "attribution",
        "redistribution",
        "copyrightHolder",
        "copyrightUrl"
      ]
    }
  }
}