{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/underly/json-schema/underly-position-schema.json",
  "title": "Position",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/underly-openapi.json#/components/schemas/Position",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "funder": {
      "type": "string"
    },
    "registryFunder": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "instrument": {
      "type": "string"
    },
    "excluded": {
      "type": "boolean"
    },
    "cadence": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "paymentAmount": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "monthlyRunRate": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "observedTotal": {
      "type": "number"
    },
    "debitCount": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "firstSeen": {
      "type": "string"
    },
    "lastSeen": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "funder",
    "registryFunder",
    "instrument",
    "excluded",
    "cadence",
    "paymentAmount",
    "monthlyRunRate",
    "observedTotal",
    "debitCount",
    "firstSeen",
    "lastSeen"
  ]
}