{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zywave/json-schema/zywave-fee-type-info-schema.json",
  "title": "FeeTypeInfo",
  "description": "Fee type info",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zywave-agency-data-api-openapi.yml#/components/schemas/FeeTypeInfo",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "baseFeeType",
    "description",
    "isArchived",
    "isDefault"
  ],
  "properties": {
    "baseFeeType": {
      "description": "The BaseFeeTypeOption",
      "default": "Administrative",
      "oneOf": [
        {
          "$ref": "#/$defs/BaseFeeTypeOption"
        }
      ]
    },
    "description": {
      "type": "string",
      "description": "The fee description",
      "maxLength": 100,
      "minLength": 1
    },
    "isArchived": {
      "type": "boolean",
      "description": "If archived",
      "default": false
    },
    "isDefault": {
      "type": "boolean",
      "description": "If the fee type should appear in the default list",
      "default": false
    }
  },
  "$defs": {
    "BaseFeeTypeOption": {
      "type": "string",
      "description": "",
      "x-enumNames": [
        "Administrative",
        "Agency",
        "Vendor",
        "Service",
        "Billing",
        "Other"
      ],
      "enum": [
        "Administrative",
        "Agency",
        "Vendor",
        "Service",
        "Billing",
        "Other"
      ]
    }
  }
}