{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentrux-com/json-schema/agentrux-com-issue-contract-body-schema.json",
  "title": "IssueContractBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentrux-com-admin-sales-api-openapi.yml#/components/schemas/IssueContractBody",
  "properties": {
    "account_id": {
      "type": "string",
      "minLength": 1,
      "title": "Account Id"
    },
    "tier": {
      "type": "string",
      "minLength": 1,
      "title": "Tier"
    },
    "reason": {
      "type": "string",
      "maxLength": 1024,
      "minLength": 1,
      "title": "Reason"
    },
    "valid_from": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Valid From"
    },
    "valid_until": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Valid Until"
    },
    "quota_overrides": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Quota Overrides"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "account_id",
    "tier",
    "reason"
  ]
}