{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/web3icon-xyz/json-schema/web3icon-xyz-agent-payment-status-schema.json",
  "title": "AgentPaymentStatus",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/web3icon-xyz-openapi.json#/components/schemas/AgentPaymentStatus",
  "type": "object",
  "properties": {
    "service": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "const": "free"
    },
    "access": {
      "type": "string",
      "const": "permanently_free"
    },
    "freeAccessPolicy": {
      "type": "string"
    },
    "catalog": {
      "type": "string",
      "format": "uri"
    },
    "embed": {
      "type": "string"
    },
    "usageReport": {
      "type": "string",
      "format": "uri"
    },
    "termsUrl": {
      "type": "string",
      "format": "uri"
    },
    "license": {
      "$ref": "#/$defs/AssetLicense"
    },
    "price": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        },
        "network": {
          "type": "string"
        }
      },
      "required": [
        "amount",
        "currency"
      ]
    },
    "creator": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "url",
        "message"
      ]
    }
  },
  "required": [
    "service",
    "status",
    "access",
    "price",
    "catalog",
    "termsUrl",
    "license",
    "creator"
  ],
  "$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"
      ]
    }
  }
}