---
type: object
properties:
  macro_id:
    type: integer
    description: Internal advanced editor macro identifier
    readOnly: true
  name:
    description: macro name
    type: string
  macro_text:
    description: macro text
    type:
      - string
      - "null"
  patron_id:
    description: borrower number
    type:
      - integer
      - "null"
  shared:
    description: is macro shared
    type:
      - boolean
      - "null"
additionalProperties: false
required:
  - name
  - macro_text
  - patron_id
  - shared
