title: CategoryPurpose1Choice
description: >
  Contains details about high level purpose of the mandate based on a set of
  pre-defined categories.
type: object
additionalProperties: false
anyOf:
  - properties:
      Cd:
        allOf:
          - $ref: ./ExternalCategoryPurpose1Code.yaml
          - description: >
              Code

              Category purpose, as published in an external category purpose code list.
    required:
      - Cd
  - properties:
      Prtry:
        allOf:
          - $ref: ./Max35Text.yaml
          - description: >
              Proprietary

              Category purpose, in a proprietary form.
    required:
      - Prtry
example:
  Cd: CASH
