{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pentonym-com/json-schema/pentonym-com-advance-request-schema.json",
  "title": "AdvanceRequest",
  "description": "One guarded transition. Every field beyond `to` is evidence a specific\nguard needs; supplying an irrelevant one is harmless, omitting a required one\nsurfaces the guard's own error (the customer never advances on missing proof).",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pentonym-com-openapi.json#/components/schemas/AdvanceRequest",
  "properties": {
    "to": {
      "type": "string",
      "title": "To",
      "description": "Target MatterStatus, e.g. 'INTAKE'."
    },
    "engagement_ref": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Engagement Ref"
    },
    "client_ref": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Ref"
    },
    "attorney_ref": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Attorney Ref"
    },
    "contracting_party": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Contracting Party"
    },
    "serial_number": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "Serial Number"
    },
    "legal_fee_cents": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Legal Fee Cents"
    },
    "uspto_fee_cents": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Uspto Fee Cents"
    },
    "oa_mailing_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Oa Mailing Date"
    },
    "notice_of_allowance": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Notice Of Allowance"
    },
    "registration_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Registration Date"
    },
    "madrid_designation": {
      "type": "boolean",
      "title": "Madrid Designation",
      "default": false
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "to"
  ]
}