type: object
properties:
  client_id:
    type: string
    description: >-
      Used to tie a document to a specific client where 0 means the document can
      be accessed from any client.
  required_group:
    type: string
    description: >-
      if filled, users not belonging to this group are not allowed to store or
      read the decrypted value
  key:
    type: string
    description: '[required] some string to identify the document'
  value:
    type: string
    description: >-
      [required] value represents the encrypted `body` of a document. It should
      be provided as a plain text
  type:
    type: string
    description: '[required] Type of the secret value'
    enum:
      - text
      - secret
      - markdown
      - string
