{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wisepim/json-schema/wisepim-fee-index-schema.json",
  "title": "FeeIndex",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wisepim-openapi.json#/components/schemas/FeeIndex",
  "type": "object",
  "properties": {
    "verifiedOn": {
      "type": "string",
      "format": "date"
    },
    "refreshCadence": {
      "type": "string"
    },
    "rowCount": {
      "type": "integer"
    },
    "feeTypes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "marketplaces": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FeeMarketplace"
      }
    },
    "attribution": {
      "$ref": "#/$defs/Attribution"
    }
  },
  "$defs": {
    "Attribution": {
      "type": "object",
      "description": "Credit to show wherever the data appears: a visible link with the text \"Data by WISEPIM\" to `url`.",
      "required": [
        "required",
        "text",
        "url",
        "html",
        "markdown",
        "terms"
      ],
      "properties": {
        "required": {
          "type": "boolean",
          "const": true
        },
        "text": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "html": {
          "type": "string"
        },
        "markdown": {
          "type": "string"
        },
        "terms": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "FeeMarketplace": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "markets": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "feeCurrency": {
          "type": "string"
        }
      }
    }
  }
}