{
  "$id": "https://enmeshed.eu/schemas/connector-api",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "AcceptIncomingRequestRequest": {
      "additionalProperties": false,
      "properties": {
        "items": {
          "items": {
            "anyOf": [
              {
                "$ref": "#/definitions/DecideRequestItem"
              },
              {
                "$ref": "#/definitions/DecideRequestItemGroup"
              }
            ]
          },
          "type": "array"
        }
      },
      "required": [
        "items"
      ],
      "type": "object"
    },
    "AcceptRequestItem": {
      "properties": {
        "accept": {
          "const": true,
          "type": "boolean"
        }
      },
      "required": [
        "accept"
      ],
      "type": "object"
    },
    "AcceptResponseItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "result": {
          "const": "Accepted",
          "type": "string"
        }
      },
      "required": [
        "@type",
        "result"
      ],
      "type": "object"
    },
    "AcceptResponseItemJSONDerivations": {
      "anyOf": [
        {
          "$ref": "#/definitions/AcceptResponseItemJSON"
        },
        {
          "$ref": "#/definitions/AttributeAlreadySharedAcceptResponseItemJSON"
        },
        {
          "$ref": "#/definitions/AttributeSuccessionAcceptResponseItemJSON"
        },
        {
          "$ref": "#/definitions/CreateAttributeAcceptResponseItemJSON"
        },
        {
          "$ref": "#/definitions/ProposeAttributeAcceptResponseItemJSON"
        },
        {
          "$ref": "#/definitions/ReadAttributeAcceptResponseItemJSON"
        },
        {
          "$ref": "#/definitions/FormFieldAcceptResponseItemJSON"
        },
        {
          "$ref": "#/definitions/TransferFileOwnershipAcceptResponseItemJSON"
        }
      ]
    },
    "AffiliationJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "Affiliation",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "organization": {
          "type": "string"
        },
        "role": {
          "type": "string"
        },
        "unit": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "organization"
      ],
      "type": "object"
    },
    "ArbitraryMessageContentJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ArbitraryMessageContent",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {}
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "ArbitraryRelationshipCreationContentJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ArbitraryRelationshipCreationContent",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {}
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "ArbitraryRelationshipTemplateContentJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ArbitraryRelationshipTemplateContent",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {}
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "AttributeAlreadySharedAcceptResponseItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "AttributeAlreadySharedAcceptResponseItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "attributeId": {
          "type": "string"
        },
        "result": {
          "const": "Accepted",
          "type": "string"
        }
      },
      "required": [
        "@type",
        "attributeId",
        "result"
      ],
      "type": "object"
    },
    "AttributeSuccessionAcceptResponseItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "AttributeSuccessionAcceptResponseItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "predecessorId": {
          "type": "string"
        },
        "result": {
          "const": "Accepted",
          "type": "string"
        },
        "successorContent": {
          "anyOf": [
            {
              "$ref": "#/definitions/IdentityAttributeJSON"
            },
            {
              "$ref": "#/definitions/RelationshipAttributeJSON"
            }
          ]
        },
        "successorId": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "predecessorId",
        "result",
        "successorContent",
        "successorId"
      ],
      "type": "object"
    },
    "AttributeValues.Identity.Editable.Json": {
      "anyOf": [
        {
          "$ref": "#/definitions/AffiliationJSON"
        },
        {
          "$ref": "#/definitions/BankAccountJSON"
        },
        {
          "$ref": "#/definitions/BirthDateJSON"
        },
        {
          "$ref": "#/definitions/BirthNameJSON"
        },
        {
          "$ref": "#/definitions/BirthPlaceJSON"
        },
        {
          "$ref": "#/definitions/CitizenshipJSON"
        },
        {
          "$ref": "#/definitions/CommunicationLanguageJSON"
        },
        {
          "$ref": "#/definitions/DeliveryBoxAddressJSON"
        },
        {
          "$ref": "#/definitions/DisplayNameJSON"
        },
        {
          "$ref": "#/definitions/EMailAddressJSON"
        },
        {
          "$ref": "#/definitions/FaxNumberJSON"
        },
        {
          "$ref": "#/definitions/GivenNameJSON"
        },
        {
          "$ref": "#/definitions/HonorificPrefixJSON"
        },
        {
          "$ref": "#/definitions/HonorificSuffixJSON"
        },
        {
          "$ref": "#/definitions/IdentityFileReferenceJSON"
        },
        {
          "$ref": "#/definitions/JobTitleJSON"
        },
        {
          "$ref": "#/definitions/MaritalStatusJSON"
        },
        {
          "$ref": "#/definitions/MiddleNameJSON"
        },
        {
          "$ref": "#/definitions/NationalityJSON"
        },
        {
          "$ref": "#/definitions/PhoneNumberJSON"
        },
        {
          "$ref": "#/definitions/PostOfficeBoxAddressJSON"
        },
        {
          "$ref": "#/definitions/PseudonymJSON"
        },
        {
          "$ref": "#/definitions/SchematizedJSONJSON"
        },
        {
          "$ref": "#/definitions/SexJSON"
        },
        {
          "$ref": "#/definitions/StreetAddressJSON"
        },
        {
          "$ref": "#/definitions/SurnameJSON"
        },
        {
          "$ref": "#/definitions/VerifiableCredentialJSON"
        },
        {
          "$ref": "#/definitions/WebsiteJSON"
        }
      ]
    },
    "AttributeValues.Identity.Editable.TypeName": {
      "enum": [
        "Affiliation",
        "BankAccount",
        "BirthDate",
        "BirthName",
        "BirthPlace",
        "Citizenship",
        "CommunicationLanguage",
        "DeliveryBoxAddress",
        "DisplayName",
        "EMailAddress",
        "FaxNumber",
        "GivenName",
        "HonorificPrefix",
        "HonorificSuffix",
        "IdentityFileReference",
        "JobTitle",
        "Nationality",
        "MaritalStatus",
        "MiddleName",
        "PhoneNumber",
        "PostOfficeBoxAddress",
        "Pseudonym",
        "SchematizedJSON",
        "Sex",
        "StreetAddress",
        "Surname",
        "VerifiableCredential",
        "Website"
      ],
      "type": "string"
    },
    "AttributeValues.Identity.Json": {
      "anyOf": [
        {
          "$ref": "#/definitions/AttributeValues.Identity.Editable.Json"
        },
        {
          "$ref": "#/definitions/AttributeValues.Identity.Uneditable.Json"
        }
      ]
    },
    "AttributeValues.Identity.TypeName": {
      "anyOf": [
        {
          "$ref": "#/definitions/AttributeValues.Identity.Editable.TypeName"
        },
        {
          "$ref": "#/definitions/AttributeValues.Identity.Uneditable.TypeName"
        }
      ]
    },
    "AttributeValues.Identity.Uneditable.Json": {
      "$ref": "#/definitions/SchematizedXMLJSON"
    },
    "AttributeValues.Identity.Uneditable.TypeName": {
      "const": "SchematizedXML",
      "type": "string"
    },
    "AttributeValues.Relationship.Json": {
      "anyOf": [
        {
          "$ref": "#/definitions/ProprietaryBooleanJSON"
        },
        {
          "$ref": "#/definitions/ProprietaryCountryJSON"
        },
        {
          "$ref": "#/definitions/ProprietaryEMailAddressJSON"
        },
        {
          "$ref": "#/definitions/ProprietaryFileReferenceJSON"
        },
        {
          "$ref": "#/definitions/ProprietaryFloatJSON"
        },
        {
          "$ref": "#/definitions/ProprietaryHEXColorJSON"
        },
        {
          "$ref": "#/definitions/ProprietaryIntegerJSON"
        },
        {
          "$ref": "#/definitions/ProprietaryLanguageJSON"
        },
        {
          "$ref": "#/definitions/ProprietaryPhoneNumberJSON"
        },
        {
          "$ref": "#/definitions/ProprietaryStringJSON"
        },
        {
          "$ref": "#/definitions/ProprietaryURLJSON"
        },
        {
          "$ref": "#/definitions/ProprietaryJSONJSON"
        },
        {
          "$ref": "#/definitions/ProprietaryXMLJSON"
        },
        {
          "$ref": "#/definitions/ConsentJSON"
        }
      ]
    },
    "AttributeValues.Relationship.TypeName": {
      "enum": [
        "ProprietaryBoolean",
        "ProprietaryCountry",
        "ProprietaryEMailAddress",
        "ProprietaryFileReference",
        "ProprietaryFloat",
        "ProprietaryHEXColor",
        "ProprietaryInteger",
        "ProprietaryLanguage",
        "ProprietaryPhoneNumber",
        "ProprietaryString",
        "ProprietaryURL",
        "ProprietaryJSON",
        "ProprietaryXML",
        "Consent"
      ],
      "type": "string"
    },
    "AuthenticationRequestItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "AuthenticationRequestItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "description": "The human-readable description of this item.",
          "type": "string"
        },
        "metadata": {
          "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response.",
          "type": "object"
        },
        "mustBeAccepted": {
          "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not.",
          "type": "boolean"
        },
        "title": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "mustBeAccepted",
        "title"
      ],
      "type": "object"
    },
    "BankAccountJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "BankAccount",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "accountHolder": {
          "type": "string"
        },
        "bic": {
          "type": "string"
        },
        "iban": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "accountHolder",
        "iban"
      ],
      "type": "object"
    },
    "BirthDateJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "BirthDate",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "day": {
          "type": "number"
        },
        "month": {
          "type": "number"
        },
        "year": {
          "type": "number"
        }
      },
      "required": [
        "@type",
        "day",
        "month",
        "year"
      ],
      "type": "object"
    },
    "BirthNameJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "BirthName",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "BirthPlaceJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "BirthPlace",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "state": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "city",
        "country"
      ],
      "type": "object"
    },
    "BooleanFormFieldSettingsJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "BooleanFormFieldSettings",
          "type": "string"
        },
        "@version": {
          "type": "string"
        }
      },
      "required": [
        "@type"
      ],
      "type": "object"
    },
    "CanAcceptIncomingRequestRequest": {
      "additionalProperties": false,
      "properties": {
        "items": {
          "items": {
            "anyOf": [
              {
                "$ref": "#/definitions/DecideRequestItem"
              },
              {
                "$ref": "#/definitions/DecideRequestItemGroup"
              }
            ]
          },
          "type": "array"
        }
      },
      "required": [
        "items"
      ],
      "type": "object"
    },
    "CanCreateOutgoingRequestRequest": {
      "additionalProperties": false,
      "properties": {
        "content": {
          "additionalProperties": false,
          "properties": {
            "@context": {
              "type": "string"
            },
            "@type": {
              "const": "Request",
              "type": "string"
            },
            "@version": {
              "type": "string"
            },
            "description": {
              "description": "The human-readable description of this Request.",
              "type": "string"
            },
            "expiresAt": {
              "default": "undefined - the request won't expire",
              "description": "The point in time the request is considered obsolete either technically (e.g. the request is no longer valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer of interest).",
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "items": {
              "description": "The items of the Request. Can be either a single  {@link  RequestItemJSONDerivations RequestItem }  or a  {@link  RequestItemGroupJSON RequestItemGroup } , which itself can contain further  {@link  RequestItemJSONDerivations RequestItems } .",
              "items": {
                "anyOf": [
                  {
                    "$ref": "#/definitions/RequestItemGroupJSON"
                  },
                  {
                    "$ref": "#/definitions/RequestItemJSONDerivations"
                  }
                ]
              },
              "type": "array"
            },
            "metadata": {
              "description": "This property can be used to add some arbitrary metadata to this request. The content of this property will be copied into the response on the side of the recipient.",
              "type": "object"
            },
            "title": {
              "description": "The human-readable title of this Request.",
              "type": "string"
            }
          },
          "required": [
            "items"
          ],
          "type": "object"
        },
        "peer": {
          "type": "string"
        }
      },
      "required": [
        "content"
      ],
      "type": "object"
    },
    "CanCreateOwnIdentityAttributeRequest": {
      "additionalProperties": false,
      "properties": {
        "content": {
          "additionalProperties": false,
          "properties": {
            "tags": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "value": {
              "$ref": "#/definitions/AttributeValues.Identity.Json"
            }
          },
          "required": [
            "value"
          ],
          "type": "object"
        }
      },
      "required": [
        "content"
      ],
      "type": "object"
    },
    "CanCreateOwnIdentityAttributeResponse": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "isSuccess": {
              "const": true,
              "type": "boolean"
            }
          },
          "required": [
            "isSuccess"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "code": {
              "type": "string"
            },
            "isSuccess": {
              "const": false,
              "type": "boolean"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "isSuccess",
            "code",
            "message"
          ],
          "type": "object"
        }
      ]
    },
    "CanCreateRelationshipRequest": {
      "additionalProperties": false,
      "properties": {
        "creationContent": {
          "anyOf": [
            {
              "$ref": "#/definitions/ArbitraryRelationshipCreationContentJSON"
            },
            {
              "$ref": "#/definitions/RelationshipCreationContentJSON"
            }
          ]
        },
        "templateId": {
          "type": "string"
        }
      },
      "required": [
        "templateId"
      ],
      "type": "object"
    },
    "CanCreateRelationshipResponse": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "isSuccess": {
              "const": true,
              "type": "boolean"
            }
          },
          "required": [
            "isSuccess"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "code": {
              "type": "string"
            },
            "isSuccess": {
              "const": false,
              "type": "boolean"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "isSuccess",
            "code",
            "message"
          ],
          "type": "object"
        }
      ]
    },
    "CanRejectIncomingRequestRequest": {
      "additionalProperties": false,
      "properties": {
        "items": {
          "items": {
            "anyOf": [
              {
                "$ref": "#/definitions/DecideRequestItem"
              },
              {
                "$ref": "#/definitions/DecideRequestItemGroup"
              }
            ]
          },
          "type": "array"
        }
      },
      "required": [
        "items"
      ],
      "type": "object"
    },
    "CitizenshipJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "Citizenship",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "CommunicationLanguageJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "CommunicationLanguage",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "ConnectorChallengeValidationResult": {
      "additionalProperties": false,
      "properties": {
        "correspondingRelationship": {
          "$ref": "#/definitions/RelationshipDTO"
        },
        "isValid": {
          "type": "boolean"
        }
      },
      "required": [
        "isValid"
      ],
      "type": "object"
    },
    "ConnectorError": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "type": "string"
        },
        "docs": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "stacktrace": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "time": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "message",
        "docs",
        "time"
      ],
      "type": "object"
    },
    "ConnectorRequestCount": {
      "additionalProperties": false,
      "properties": {
        "requestCount": {
          "type": "number"
        },
        "requestCountByStatus": {
          "additionalProperties": {
            "type": "number"
          },
          "type": "object"
        },
        "since": {
          "type": "string"
        }
      },
      "required": [
        "since",
        "requestCount",
        "requestCountByStatus"
      ],
      "type": "object"
    },
    "ConnectorRequestValidationResult": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "isSuccess": {
          "type": "boolean"
        },
        "items": {
          "items": {
            "$ref": "#/definitions/ConnectorRequestValidationResult"
          },
          "type": "array"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "isSuccess",
        "items"
      ],
      "type": "object"
    },
    "ConnectorSupportInformation": {
      "additionalProperties": false,
      "properties": {
        "configuration": {
          "additionalProperties": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              },
              {
                "type": "object"
              },
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": "object"
        },
        "health": {
          "$ref": "#/definitions/RuntimeHealth"
        },
        "identityInfo": {
          "$ref": "#/definitions/IdentityInfo"
        },
        "version": {
          "$ref": "#/definitions/ConnectorVersionInfo"
        }
      },
      "required": [
        "version",
        "health",
        "configuration",
        "identityInfo"
      ],
      "type": "object"
    },
    "ConnectorSyncInfo": {
      "additionalProperties": false,
      "properties": {
        "lastSyncRun": {
          "additionalProperties": false,
          "properties": {
            "completedAt": {
              "type": "string"
            }
          },
          "required": [
            "completedAt"
          ],
          "type": "object"
        }
      },
      "type": "object"
    },
    "ConnectorVersionInfo": {
      "additionalProperties": false,
      "properties": {
        "build": {
          "type": "string"
        },
        "commit": {
          "type": "string"
        },
        "date": {
          "type": "string"
        },
        "modules": {
          "additionalProperties": {
            "additionalProperties": false,
            "properties": {
              "build": {
                "type": "string"
              },
              "commit": {
                "type": "string"
              },
              "date": {
                "type": "string"
              },
              "version": {
                "type": "string"
              }
            },
            "required": [
              "version",
              "build",
              "date",
              "commit"
            ],
            "type": "object"
          },
          "type": "object"
        },
        "runtimeVersion": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "version",
        "build",
        "date",
        "commit",
        "runtimeVersion",
        "modules"
      ],
      "type": "object"
    },
    "ConsentJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "Consent",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "consent": {
          "type": "string"
        },
        "link": {
          "type": "string"
        },
        "linkDisplayText": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "consent"
      ],
      "type": "object"
    },
    "ConsentRequestItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ConsentRequestItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "consent": {
          "type": "string"
        },
        "description": {
          "description": "The human-readable description of this item.",
          "type": "string"
        },
        "link": {
          "type": "string"
        },
        "linkDisplayText": {
          "type": "string"
        },
        "metadata": {
          "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response.",
          "type": "object"
        },
        "mustBeAccepted": {
          "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not.",
          "type": "boolean"
        },
        "requiresInteraction": {
          "type": "boolean"
        }
      },
      "required": [
        "@type",
        "consent",
        "mustBeAccepted"
      ],
      "type": "object"
    },
    "CreateAttributeAcceptResponseItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "CreateAttributeAcceptResponseItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "attributeId": {
          "type": "string"
        },
        "result": {
          "const": "Accepted",
          "type": "string"
        }
      },
      "required": [
        "@type",
        "attributeId",
        "result"
      ],
      "type": "object"
    },
    "CreateAttributeRequestItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "CreateAttributeRequestItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "attribute": {
          "anyOf": [
            {
              "$ref": "#/definitions/RelationshipAttributeJSON"
            },
            {
              "$ref": "#/definitions/IdentityAttributeJSON"
            }
          ]
        },
        "description": {
          "description": "The human-readable description of this item.",
          "type": "string"
        },
        "metadata": {
          "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response.",
          "type": "object"
        },
        "mustBeAccepted": {
          "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not.",
          "type": "boolean"
        }
      },
      "required": [
        "@type",
        "attribute",
        "mustBeAccepted"
      ],
      "type": "object"
    },
    "CreateChallengeRequest": {
      "anyOf": [
        {
          "$ref": "#/definitions/CreateRelationshipChallengeRequest"
        },
        {
          "$ref": "#/definitions/CreateIdentityChallengeRequest"
        },
        {
          "$ref": "#/definitions/CreateDeviceChallengeRequest"
        }
      ]
    },
    "CreateDeviceChallengeRequest": {
      "additionalProperties": false,
      "properties": {
        "challengeType": {
          "const": "Device",
          "type": "string"
        }
      },
      "required": [
        "challengeType"
      ],
      "type": "object"
    },
    "CreateIdentityChallengeRequest": {
      "additionalProperties": false,
      "properties": {
        "challengeType": {
          "const": "Identity",
          "type": "string"
        }
      },
      "required": [
        "challengeType"
      ],
      "type": "object"
    },
    "CreateOutgoingRequestRequest": {
      "additionalProperties": false,
      "properties": {
        "content": {
          "additionalProperties": false,
          "properties": {
            "@context": {
              "type": "string"
            },
            "@type": {
              "const": "Request",
              "type": "string"
            },
            "@version": {
              "type": "string"
            },
            "description": {
              "description": "The human-readable description of this Request.",
              "type": "string"
            },
            "expiresAt": {
              "default": "undefined - the request won't expire",
              "description": "The point in time the request is considered obsolete either technically (e.g. the request is no longer valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer of interest).",
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "items": {
              "description": "The items of the Request. Can be either a single  {@link  RequestItemJSONDerivations RequestItem }  or a  {@link  RequestItemGroupJSON RequestItemGroup } , which itself can contain further  {@link  RequestItemJSONDerivations RequestItems } .",
              "items": {
                "anyOf": [
                  {
                    "$ref": "#/definitions/RequestItemGroupJSON"
                  },
                  {
                    "$ref": "#/definitions/RequestItemJSONDerivations"
                  }
                ]
              },
              "type": "array"
            },
            "metadata": {
              "description": "This property can be used to add some arbitrary metadata to this request. The content of this property will be copied into the response on the side of the recipient.",
              "type": "object"
            },
            "title": {
              "description": "The human-readable title of this Request.",
              "type": "string"
            }
          },
          "required": [
            "items"
          ],
          "type": "object"
        },
        "peer": {
          "type": "string"
        }
      },
      "required": [
        "content",
        "peer"
      ],
      "type": "object"
    },
    "CreateOwnIdentityAttributeRequest": {
      "additionalProperties": false,
      "properties": {
        "content": {
          "additionalProperties": false,
          "properties": {
            "tags": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "value": {
              "$ref": "#/definitions/AttributeValues.Identity.Json"
            }
          },
          "required": [
            "value"
          ],
          "type": "object"
        }
      },
      "required": [
        "content"
      ],
      "type": "object"
    },
    "CreateOwnRelationshipTemplateRequest": {
      "additionalProperties": false,
      "properties": {
        "content": {
          "anyOf": [
            {
              "$ref": "#/definitions/RelationshipTemplateContentJSON"
            },
            {
              "$ref": "#/definitions/ArbitraryRelationshipTemplateContentJSON"
            }
          ]
        },
        "expiresAt": {
          "type": "string"
        },
        "forIdentity": {
          "type": "string"
        },
        "maxNumberOfAllocations": {
          "type": "number"
        },
        "passwordProtection": {
          "additionalProperties": false,
          "properties": {
            "password": {
              "type": "string"
            },
            "passwordIsPin": {
              "const": true,
              "type": "boolean"
            },
            "passwordLocationIndicator": {
              "type": [
                "string",
                "number"
              ]
            }
          },
          "required": [
            "password"
          ],
          "type": "object"
        }
      },
      "required": [
        "expiresAt",
        "content"
      ],
      "type": "object"
    },
    "CreateOwnTokenRequest": {
      "additionalProperties": false,
      "properties": {
        "content": {},
        "ephemeral": {
          "type": "boolean"
        },
        "expiresAt": {
          "type": "string"
        },
        "forIdentity": {
          "type": "string"
        },
        "passwordProtection": {
          "additionalProperties": false,
          "properties": {
            "password": {
              "type": "string"
            },
            "passwordIsPin": {
              "const": true,
              "type": "boolean"
            },
            "passwordLocationIndicator": {
              "type": [
                "string",
                "number"
              ]
            }
          },
          "required": [
            "password"
          ],
          "type": "object"
        }
      },
      "required": [
        "expiresAt",
        "content"
      ],
      "type": "object"
    },
    "CreateRelationshipChallengeRequest": {
      "additionalProperties": false,
      "properties": {
        "challengeType": {
          "const": "Relationship",
          "type": "string"
        },
        "relationship": {
          "type": "string"
        }
      },
      "required": [
        "challengeType",
        "relationship"
      ],
      "type": "object"
    },
    "CreateRelationshipRequest": {
      "additionalProperties": false,
      "properties": {
        "creationContent": {
          "anyOf": [
            {
              "$ref": "#/definitions/ArbitraryRelationshipCreationContentJSON"
            },
            {
              "$ref": "#/definitions/RelationshipCreationContentJSON"
            }
          ]
        },
        "templateId": {
          "type": "string"
        }
      },
      "required": [
        "templateId",
        "creationContent"
      ],
      "type": "object"
    },
    "CreateTokenForFileRequest": {
      "additionalProperties": false,
      "properties": {
        "ephemeral": {
          "type": "boolean"
        },
        "expiresAt": {
          "type": "string"
        },
        "forIdentity": {
          "type": "string"
        },
        "passwordProtection": {
          "additionalProperties": false,
          "properties": {
            "password": {
              "type": "string"
            },
            "passwordIsPin": {
              "const": true,
              "type": "boolean"
            },
            "passwordLocationIndicator": {
              "type": [
                "string",
                "number"
              ]
            }
          },
          "required": [
            "password"
          ],
          "type": "object"
        }
      },
      "type": "object"
    },
    "CreateTokenForOwnRelationshipTemplateRequest": {
      "additionalProperties": false,
      "properties": {
        "ephemeral": {
          "type": "boolean"
        },
        "expiresAt": {
          "type": "string"
        },
        "forIdentity": {
          "type": "string"
        },
        "passwordProtection": {
          "additionalProperties": false,
          "properties": {
            "password": {
              "type": "string"
            },
            "passwordIsPin": {
              "const": true,
              "type": "boolean"
            },
            "passwordLocationIndicator": {
              "type": [
                "string",
                "number"
              ]
            }
          },
          "required": [
            "password"
          ],
          "type": "object"
        }
      },
      "type": "object"
    },
    "CreateTokenQrCodeForFileRequest": {
      "additionalProperties": false,
      "properties": {
        "expiresAt": {
          "type": "string"
        },
        "forIdentity": {
          "type": "string"
        },
        "passwordProtection": {
          "additionalProperties": false,
          "properties": {
            "password": {
              "type": "string"
            },
            "passwordIsPin": {
              "const": true,
              "type": "boolean"
            },
            "passwordLocationIndicator": {
              "type": [
                "string",
                "number"
              ]
            }
          },
          "required": [
            "password"
          ],
          "type": "object"
        }
      },
      "type": "object"
    },
    "CreateTokenQrCodeForOwnRelationshipTemplateRequest": {
      "additionalProperties": false,
      "properties": {
        "expiresAt": {
          "type": "string"
        },
        "forIdentity": {
          "type": "string"
        },
        "passwordProtection": {
          "additionalProperties": false,
          "properties": {
            "password": {
              "type": "string"
            },
            "passwordIsPin": {
              "const": true,
              "type": "boolean"
            },
            "passwordLocationIndicator": {
              "type": [
                "string",
                "number"
              ]
            }
          },
          "required": [
            "password"
          ],
          "type": "object"
        }
      },
      "type": "object"
    },
    "DateFormFieldSettingsJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "DateFormFieldSettings",
          "type": "string"
        },
        "@version": {
          "type": "string"
        }
      },
      "required": [
        "@type"
      ],
      "type": "object"
    },
    "DecideRequest": {
      "additionalProperties": false,
      "properties": {
        "items": {
          "items": {
            "anyOf": [
              {
                "$ref": "#/definitions/DecideRequestItem"
              },
              {
                "$ref": "#/definitions/DecideRequestItemGroup"
              }
            ]
          },
          "type": "array"
        }
      },
      "required": [
        "items"
      ],
      "type": "object"
    },
    "DecideRequestItem": {
      "anyOf": [
        {
          "$ref": "#/definitions/AcceptRequestItem"
        },
        {
          "$ref": "#/definitions/RejectRequestItem"
        }
      ]
    },
    "DecideRequestItemGroup": {
      "additionalProperties": false,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/definitions/DecideRequestItem"
          },
          "type": "array"
        }
      },
      "required": [
        "items"
      ],
      "type": "object"
    },
    "DeleteAttributeAndNotifyResponse": {
      "additionalProperties": false,
      "properties": {
        "notificationIds": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "notificationIds"
      ],
      "type": "object"
    },
    "DeleteAttributeRequestItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "DeleteAttributeRequestItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "attributeId": {
          "type": "string"
        },
        "description": {
          "description": "The human-readable description of this item.",
          "type": "string"
        },
        "metadata": {
          "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response.",
          "type": "object"
        },
        "mustBeAccepted": {
          "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not.",
          "type": "boolean"
        }
      },
      "required": [
        "@type",
        "attributeId",
        "mustBeAccepted"
      ],
      "type": "object"
    },
    "DeliveryBoxAddressJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "DeliveryBoxAddress",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "deliveryBoxId": {
          "type": "string"
        },
        "phoneNumber": {
          "type": "string"
        },
        "recipient": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "userId": {
          "type": "string"
        },
        "zipCode": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "city",
        "country",
        "deliveryBoxId",
        "recipient",
        "userId",
        "zipCode"
      ],
      "type": "object"
    },
    "DisplayNameJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "DisplayName",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "DoubleFormFieldSettingsJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "DoubleFormFieldSettings",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "max": {
          "type": "number"
        },
        "min": {
          "type": "number"
        },
        "unit": {
          "type": "string"
        }
      },
      "required": [
        "@type"
      ],
      "type": "object"
    },
    "EMailAddressJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "EMailAddress",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "ErrorResponseItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ErrorResponseItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "result": {
          "const": "Error",
          "type": "string"
        }
      },
      "required": [
        "@type",
        "code",
        "message",
        "result"
      ],
      "type": "object"
    },
    "ErrorResponseItemJSONDerivations": {
      "$ref": "#/definitions/ErrorResponseItemJSON"
    },
    "ExecuteIQLQueryRequest": {
      "additionalProperties": false,
      "properties": {
        "query": {
          "additionalProperties": false,
          "properties": {
            "@context": {
              "type": "string"
            },
            "@type": {
              "type": "string"
            },
            "@version": {
              "type": "string"
            },
            "attributeCreationHints": {
              "$ref": "#/definitions/IQLQueryCreationHintsJSON"
            },
            "queryString": {
              "type": "string"
            }
          },
          "required": [
            "queryString"
          ],
          "type": "object"
        }
      },
      "required": [
        "query"
      ],
      "type": "object"
    },
    "ExecuteIdentityAttributeQueryRequest": {
      "additionalProperties": false,
      "properties": {
        "query": {
          "additionalProperties": false,
          "properties": {
            "@context": {
              "type": "string"
            },
            "@type": {
              "type": "string"
            },
            "@version": {
              "type": "string"
            },
            "tags": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "valueType": {
              "$ref": "#/definitions/AttributeValues.Identity.TypeName"
            }
          },
          "required": [
            "valueType"
          ],
          "type": "object"
        }
      },
      "required": [
        "query"
      ],
      "type": "object"
    },
    "ExecuteRelationshipAttributeQueryRequest": {
      "additionalProperties": false,
      "properties": {
        "query": {
          "additionalProperties": false,
          "properties": {
            "@context": {
              "type": "string"
            },
            "@type": {
              "type": "string"
            },
            "@version": {
              "type": "string"
            },
            "attributeCreationHints": {
              "$ref": "#/definitions/RelationshipAttributeCreationHintsJSON"
            },
            "key": {
              "type": "string"
            },
            "owner": {
              "type": "string"
            }
          },
          "required": [
            "attributeCreationHints",
            "key",
            "owner"
          ],
          "type": "object"
        }
      },
      "required": [
        "query"
      ],
      "type": "object"
    },
    "ExecuteThirdPartyRelationshipAttributeQueryRequest": {
      "additionalProperties": false,
      "properties": {
        "query": {
          "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryJSON"
        }
      },
      "required": [
        "query"
      ],
      "type": "object"
    },
    "FaxNumberJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "FaxNumber",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "FormFieldAcceptResponseItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "FormFieldAcceptResponseItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "response": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "result": {
          "const": "Accepted",
          "type": "string"
        }
      },
      "required": [
        "@type",
        "response",
        "result"
      ],
      "type": "object"
    },
    "FormFieldRequestItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "FormFieldRequestItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "description": "The human-readable description of this item.",
          "type": "string"
        },
        "metadata": {
          "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response.",
          "type": "object"
        },
        "mustBeAccepted": {
          "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not.",
          "type": "boolean"
        },
        "settings": {
          "$ref": "#/definitions/FormFieldSettingsJSONDerivations"
        },
        "title": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "mustBeAccepted",
        "settings",
        "title"
      ],
      "type": "object"
    },
    "FormFieldSettingsJSONDerivations": {
      "anyOf": [
        {
          "$ref": "#/definitions/StringFormFieldSettingsJSON"
        },
        {
          "$ref": "#/definitions/IntegerFormFieldSettingsJSON"
        },
        {
          "$ref": "#/definitions/DoubleFormFieldSettingsJSON"
        },
        {
          "$ref": "#/definitions/BooleanFormFieldSettingsJSON"
        },
        {
          "$ref": "#/definitions/DateFormFieldSettingsJSON"
        },
        {
          "$ref": "#/definitions/SelectionFormFieldSettingsJSON"
        },
        {
          "$ref": "#/definitions/RatingFormFieldSettingsJSON"
        }
      ]
    },
    "GetAllFilesRequest": {
      "additionalProperties": false,
      "properties": {
        "createdAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdBy": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdByDevice": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "expiresAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "filename": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "filesize": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "isOwn": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "items": {
                "type": "boolean"
              },
              "type": "array"
            }
          ]
        },
        "mimetype": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "ownershipIsLocked": {
          "type": "string"
        },
        "ownershipToken": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "tags": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "GetAnnouncementsRequest": {
      "additionalProperties": false,
      "properties": {
        "language": {
          "$ref": "#/definitions/LanguageISO639"
        }
      },
      "required": [
        "language"
      ],
      "type": "object"
    },
    "GetAttributesRequest": {
      "additionalProperties": false,
      "properties": {
        "@type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "content": {
          "additionalProperties": false,
          "properties": {
            "@type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "confidentiality": {
              "enum": [
                "public",
                "private",
                "protected"
              ],
              "type": "string"
            },
            "isTechnical": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "key": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "owner": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "tags": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "value": {
              "additionalProperties": false,
              "properties": {
                "@type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  ]
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "createdAt": {
          "type": "string"
        },
        "deletionInfo": {
          "additionalProperties": false,
          "properties": {
            "deletionDate": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "deletionStatus": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            }
          },
          "type": "object"
        },
        "initialAttributePeer": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "peer": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "sourceReference": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "succeededBy": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "succeeds": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "GetForwardingDetailsForAttributeRequest": {
      "additionalProperties": false,
      "properties": {
        "attributeId": {
          "type": "string"
        },
        "query": {
          "$ref": "#/definitions/GetForwardingDetailsForAttributeRequestQuery"
        }
      },
      "required": [
        "attributeId"
      ],
      "type": "object"
    },
    "GetForwardingDetailsForAttributeRequestQuery": {
      "additionalProperties": false,
      "properties": {
        "deletionInfo": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "deletionInfo.deletionDate": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "deletionInfo.deletionStatus": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "peer": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "sharedAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "sourceReference": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "GetIncomingRequestsRequest": {
      "additionalProperties": false,
      "properties": {
        "content": {
          "additionalProperties": false,
          "properties": {
            "expiresAt": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "items": {
              "additionalProperties": false,
              "properties": {
                "@type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  ]
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "createdAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "peer": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "response": {
          "additionalProperties": false,
          "properties": {
            "content": {
              "additionalProperties": false,
              "properties": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "@type": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      ]
                    },
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "@type": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          ]
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "result": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  ]
                }
              },
              "type": "object"
            },
            "createdAt": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "source": {
              "additionalProperties": false,
              "properties": {
                "reference": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  ]
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "source": {
          "additionalProperties": false,
          "properties": {
            "reference": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            }
          },
          "type": "object"
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "wasAutomaticallyDecided": {
          "enum": [
            "true",
            "!"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "GetMessagesRequest": {
      "additionalProperties": false,
      "properties": {
        "attachments": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "content": {
          "additionalProperties": false,
          "properties": {
            "@type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "body": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "bodyFormat": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "subject": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            }
          },
          "type": "object"
        },
        "createdAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdBy": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdByDevice": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "isOwn": {
          "type": "string"
        },
        "participant": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "recipients": {
          "additionalProperties": false,
          "properties": {
            "address": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "relationshipId": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "GetOutgoingRequestsRequest": {
      "additionalProperties": false,
      "properties": {
        "content": {
          "additionalProperties": false,
          "properties": {
            "expiresAt": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "items": {
              "additionalProperties": false,
              "properties": {
                "@type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  ]
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "createdAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "peer": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "response": {
          "additionalProperties": false,
          "properties": {
            "content": {
              "additionalProperties": false,
              "properties": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "@type": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      ]
                    },
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "@type": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          ]
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "result": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  ]
                }
              },
              "type": "object"
            },
            "createdAt": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "source": {
              "additionalProperties": false,
              "properties": {
                "reference": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  ]
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "source": {
          "additionalProperties": false,
          "properties": {
            "reference": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            },
            "type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              ]
            }
          },
          "type": "object"
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "GetOwnAttributesSharedWithPeerRequest": {
      "additionalProperties": false,
      "properties": {
        "hideTechnical": {
          "type": "boolean"
        },
        "onlyLatestVersions": {
          "type": "boolean"
        },
        "peer": {
          "type": "string"
        },
        "query": {
          "$ref": "#/definitions/GetOwnAttributesSharedWithPeerRequestQuery"
        }
      },
      "required": [
        "peer"
      ],
      "type": "object"
    },
    "GetOwnAttributesSharedWithPeerRequestQuery": {
      "additionalProperties": false,
      "properties": {
        "@type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "content.@type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "content.confidentiality": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "content.isTechnical": {
          "type": "string"
        },
        "content.key": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "content.tags": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "content.value.@type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdAt": {
          "type": "string"
        },
        "deletionInfo": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "deletionInfo.deletionDate": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "deletionInfo.deletionStatus": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "sourceReference": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "GetOwnFilesRequest": {
      "additionalProperties": false,
      "properties": {
        "createdAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdByDevice": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "expiresAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "filename": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "filesize": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "mimetype": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "ownershipIsLocked": {
          "type": "string"
        },
        "ownershipToken": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "tags": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "GetOwnIdentityAttributesRequest": {
      "additionalProperties": false,
      "properties": {
        "content.tags": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "content.value.@type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdAt": {
          "type": "string"
        },
        "onlyLatestVersions": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "GetOwnTemplatesRequest": {
      "additionalProperties": false,
      "properties": {
        "createdAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdByDevice": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "expiresAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "forIdentity": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "maxNumberOfAllocations": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "items": {
                "type": "number"
              },
              "type": "array"
            }
          ]
        },
        "passwordProtection": {
          "enum": [
            "",
            "!"
          ],
          "type": "string"
        },
        "passwordProtection.password": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "passwordProtection.passwordIsPin": {
          "enum": [
            "true",
            "!"
          ],
          "type": "string"
        },
        "passwordProtection.passwordLocationIndicator": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "GetOwnTokensRequest": {
      "additionalProperties": false,
      "properties": {
        "createdAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdByDevice": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "expiresAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "forIdentity": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "passwordProtection": {
          "enum": [
            "",
            "!"
          ],
          "type": "string"
        },
        "passwordProtection.password": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "passwordProtection.passwordIsPin": {
          "enum": [
            "true",
            "!"
          ],
          "type": "string"
        },
        "passwordProtection.passwordLocationIndicator": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "GetPeerAttributesRequest": {
      "additionalProperties": false,
      "properties": {
        "hideTechnical": {
          "type": "boolean"
        },
        "onlyLatestVersions": {
          "type": "boolean"
        },
        "peer": {
          "type": "string"
        },
        "query": {
          "$ref": "#/definitions/GetPeerAttributesRequestQuery"
        }
      },
      "required": [
        "peer"
      ],
      "type": "object"
    },
    "GetPeerAttributesRequestQuery": {
      "additionalProperties": false,
      "properties": {
        "@type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "content.@type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "content.confidentiality": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "content.isTechnical": {
          "type": "string"
        },
        "content.key": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "content.tags": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "content.value.@type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdAt": {
          "type": "string"
        },
        "deletionInfo": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "deletionInfo.deletionDate": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "deletionInfo.deletionStatus": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "initialAttributePeer": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "sourceReference": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "GetPeerFilesRequest": {
      "additionalProperties": false,
      "properties": {
        "createdAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdBy": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "expiresAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "filename": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "filesize": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "mimetype": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "tags": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "GetPeerRelationshipTemplatesRequest": {
      "additionalProperties": false,
      "properties": {
        "createdAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdBy": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "expiresAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "forIdentity": {
          "type": "string"
        },
        "maxNumberOfAllocations": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "items": {
                "type": "number"
              },
              "type": "array"
            }
          ]
        },
        "passwordProtection": {
          "enum": [
            "",
            "!"
          ],
          "type": "string"
        },
        "passwordProtection.password": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "passwordProtection.passwordIsPin": {
          "enum": [
            "true",
            "!"
          ],
          "type": "string"
        },
        "passwordProtection.passwordLocationIndicator": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "GetPeerTokensRequest": {
      "additionalProperties": false,
      "properties": {
        "createdAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdBy": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "expiresAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "forIdentity": {
          "type": "string"
        },
        "passwordProtection": {
          "enum": [
            "",
            "!"
          ],
          "type": "string"
        },
        "passwordProtection.password": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "passwordProtection.passwordIsPin": {
          "enum": [
            "true",
            "!"
          ],
          "type": "string"
        },
        "passwordProtection.passwordLocationIndicator": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "GetRelationshipTemplatesRequest": {
      "additionalProperties": false,
      "properties": {
        "createdAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdBy": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "createdByDevice": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "expiresAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "forIdentity": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "isOwn": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "items": {
                "type": "boolean"
              },
              "type": "array"
            }
          ]
        },
        "maxNumberOfAllocations": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "items": {
                "type": "number"
              },
              "type": "array"
            }
          ]
        },
        "passwordProtection": {
          "enum": [
            "",
            "!"
          ],
          "type": "string"
        },
        "passwordProtection.password": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "passwordProtection.passwordIsPin": {
          "enum": [
            "true",
            "!"
          ],
          "type": "string"
        },
        "passwordProtection.passwordLocationIndicator": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "GetRelationshipsRequest": {
      "additionalProperties": false,
      "properties": {
        "peer": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        },
        "template.id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          ]
        }
      },
      "type": "object"
    },
    "GetVersionsOfAttributeSharedWithPeerRequest": {
      "additionalProperties": false,
      "properties": {
        "onlyLatestVersions": {
          "type": "boolean"
        },
        "peer": {
          "type": "string"
        }
      },
      "required": [
        "peer"
      ],
      "type": "object"
    },
    "GivenNameJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "GivenName",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "HonorificPrefixJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "HonorificPrefix",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "HonorificSuffixJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "HonorificSuffix",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "IQLQueryCreationHintsJSON": {
      "additionalProperties": false,
      "properties": {
        "tags": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "valueType": {
          "$ref": "#/definitions/AttributeValues.Identity.TypeName"
        }
      },
      "required": [
        "valueType"
      ],
      "type": "object"
    },
    "IQLQueryJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "IQLQuery",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "attributeCreationHints": {
          "$ref": "#/definitions/IQLQueryCreationHintsJSON"
        },
        "queryString": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "queryString"
      ],
      "type": "object"
    },
    "IdentityAttributeJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "IdentityAttribute",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "owner": {
          "type": "string"
        },
        "tags": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "value": {
          "$ref": "#/definitions/AttributeValues.Identity.Json"
        }
      },
      "required": [
        "@type",
        "owner",
        "value"
      ],
      "type": "object"
    },
    "IdentityAttributeQueryJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "IdentityAttributeQuery",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "tags": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "valueType": {
          "$ref": "#/definitions/AttributeValues.Identity.TypeName"
        }
      },
      "required": [
        "@type",
        "valueType"
      ],
      "type": "object"
    },
    "IdentityDTO": {
      "additionalProperties": false,
      "properties": {
        "address": {
          "type": "string"
        },
        "publicKey": {
          "type": "string"
        }
      },
      "required": [
        "address",
        "publicKey"
      ],
      "type": "object"
    },
    "IdentityFileReferenceJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "IdentityFileReference",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "IdentityInfo": {
      "additionalProperties": false,
      "properties": {
        "address": {
          "type": "string"
        },
        "publicKey": {
          "type": "string"
        }
      },
      "required": [
        "address",
        "publicKey"
      ],
      "type": "object"
    },
    "IntegerFormFieldSettingsJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "IntegerFormFieldSettings",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "max": {
          "type": "number"
        },
        "min": {
          "type": "number"
        },
        "unit": {
          "type": "string"
        }
      },
      "required": [
        "@type"
      ],
      "type": "object"
    },
    "JobTitleJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "JobTitle",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "LanguageISO639": {
      "enum": [
        "aa",
        "ab",
        "ae",
        "af",
        "ak",
        "am",
        "an",
        "ar",
        "as",
        "av",
        "ay",
        "az",
        "ba",
        "be",
        "bg",
        "bi",
        "bm",
        "bn",
        "bo",
        "br",
        "bs",
        "ca",
        "ce",
        "ch",
        "co",
        "cr",
        "cs",
        "cu",
        "cv",
        "cy",
        "da",
        "de",
        "dv",
        "dz",
        "ee",
        "el",
        "en",
        "eo",
        "es",
        "et",
        "eu",
        "fa",
        "ff",
        "fi",
        "fj",
        "fo",
        "fr",
        "fy",
        "ga",
        "gd",
        "gl",
        "gn",
        "gu",
        "gv",
        "ha",
        "he",
        "hi",
        "ho",
        "hr",
        "ht",
        "hu",
        "hy",
        "hz",
        "ia",
        "id",
        "ie",
        "ig",
        "ii",
        "ik",
        "io",
        "is",
        "it",
        "iu",
        "ja",
        "jv",
        "ka",
        "kg",
        "ki",
        "kj",
        "kk",
        "kl",
        "km",
        "kn",
        "ko",
        "kr",
        "ks",
        "ku",
        "kv",
        "kw",
        "ky",
        "la",
        "lb",
        "lg",
        "li",
        "ln",
        "lo",
        "lt",
        "lu",
        "lv",
        "mg",
        "mh",
        "mi",
        "mk",
        "ml",
        "mn",
        "mr",
        "ms",
        "mt",
        "my",
        "na",
        "nb",
        "nd",
        "ne",
        "ng",
        "nl",
        "nn",
        "no",
        "nr",
        "nv",
        "ny",
        "oc",
        "oj",
        "om",
        "or",
        "os",
        "pa",
        "pi",
        "pl",
        "ps",
        "pt",
        "qu",
        "rm",
        "rn",
        "ro",
        "ru",
        "rw",
        "sa",
        "sc",
        "sd",
        "se",
        "sg",
        "si",
        "sk",
        "sl",
        "sm",
        "sn",
        "so",
        "sq",
        "sr",
        "ss",
        "st",
        "su",
        "sv",
        "sw",
        "ta",
        "te",
        "tg",
        "th",
        "ti",
        "tk",
        "tl",
        "tn",
        "to",
        "tr",
        "ts",
        "tt",
        "tw",
        "ty",
        "ug",
        "uk",
        "ur",
        "uz",
        "ve",
        "vi",
        "vo",
        "wa",
        "wo",
        "xh",
        "yi",
        "yo",
        "za",
        "zh",
        "zu"
      ],
      "type": "string"
    },
    "LoadPeerFileRequest": {
      "additionalProperties": false,
      "properties": {
        "password": {
          "type": "string"
        },
        "reference": {
          "description": "starting with 'VE9L' for a truncated reference to a token containing a FileReference or starting with 'RklM' for a direct truncated FileReference",
          "type": "string"
        }
      },
      "required": [
        "reference"
      ],
      "type": "object"
    },
    "LoadPeerRelationshipTemplateRequest": {
      "additionalProperties": false,
      "properties": {
        "password": {
          "type": "string"
        },
        "reference": {
          "description": "starting with 'VE9L' for a truncated reference to a token containing a RelationshipTemplateReference or starting with 'UkxU' for a direct truncated RelationshipTemplateReference",
          "type": "string"
        }
      },
      "required": [
        "reference"
      ],
      "type": "object"
    },
    "LoadPeerTokenRequest": {
      "additionalProperties": false,
      "properties": {
        "ephemeral": {
          "type": "boolean"
        },
        "password": {
          "type": "string"
        },
        "reference": {
          "type": "string"
        }
      },
      "required": [
        "reference"
      ],
      "type": "object"
    },
    "LocalAttributeDTO": {
      "additionalProperties": false,
      "properties": {
        "@type": {
          "enum": [
            "OwnIdentityAttribute",
            "PeerIdentityAttribute",
            "OwnRelationshipAttribute",
            "PeerRelationshipAttribute",
            "ThirdPartyRelationshipAttribute"
          ],
          "type": "string"
        },
        "content": {
          "anyOf": [
            {
              "$ref": "#/definitions/IdentityAttributeJSON"
            },
            {
              "$ref": "#/definitions/RelationshipAttributeJSON"
            }
          ]
        },
        "createdAt": {
          "type": "string"
        },
        "deletionInfo": {
          "$ref": "#/definitions/LocalAttributeDeletionInfoDTO"
        },
        "id": {
          "type": "string"
        },
        "initialAttributePeer": {
          "type": "string"
        },
        "isDefault": {
          "const": true,
          "type": "boolean"
        },
        "numberOfForwards": {
          "type": "number"
        },
        "peer": {
          "type": "string"
        },
        "sourceReference": {
          "type": "string"
        },
        "succeededBy": {
          "type": "string"
        },
        "succeeds": {
          "type": "string"
        },
        "wasViewedAt": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "id",
        "createdAt",
        "content"
      ],
      "type": "object"
    },
    "LocalAttributeDeletionInfoDTO": {
      "additionalProperties": false,
      "properties": {
        "deletionDate": {
          "type": "string"
        },
        "deletionStatus": {
          "$ref": "#/definitions/LocalAttributeDeletionStatus"
        }
      },
      "required": [
        "deletionStatus",
        "deletionDate"
      ],
      "type": "object"
    },
    "LocalAttributeDeletionStatus": {
      "enum": [
        "DeletionRequestSent",
        "DeletionRequestRejected",
        "ToBeDeleted",
        "ToBeDeletedByRecipient",
        "DeletedByRecipient",
        "DeletedByEmitter"
      ],
      "type": "string"
    },
    "MailJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "Mail",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "body": {
          "type": "string"
        },
        "bodyFormat": {
          "enum": [
            "PlainText",
            "Markdown"
          ],
          "type": "string"
        },
        "cc": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "subject": {
          "type": "string"
        },
        "to": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "@type",
        "body",
        "bodyFormat",
        "subject",
        "to"
      ],
      "type": "object"
    },
    "MaritalStatusJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "MaritalStatus",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "MiddleNameJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "MiddleName",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "NationalityJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "Nationality",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "NotificationItemJSON": {
      "additionalProperties": false,
      "type": "object"
    },
    "NotificationJSON": {
      "additionalProperties": false,
      "properties": {
        "@type": {
          "const": "Notification",
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "items": {
          "description": "The items of the Notification.",
          "items": {
            "$ref": "#/definitions/NotificationItemJSON"
          },
          "type": "array"
        }
      },
      "required": [
        "@type",
        "id",
        "items"
      ],
      "type": "object"
    },
    "NotifyPeerAboutOwnIdentityAttributeSuccessionRequest": {
      "additionalProperties": false,
      "properties": {
        "peer": {
          "type": "string"
        }
      },
      "required": [
        "peer"
      ],
      "type": "object"
    },
    "NotifyPeerAboutOwnIdentityAttributeSuccessionResponse": {
      "additionalProperties": false,
      "properties": {
        "notificationId": {
          "type": "string"
        },
        "predecessor": {
          "$ref": "#/definitions/LocalAttributeDTO"
        },
        "successor": {
          "$ref": "#/definitions/LocalAttributeDTO"
        }
      },
      "required": [
        "predecessor",
        "successor",
        "notificationId"
      ],
      "type": "object"
    },
    "PeerDeletionInfoDTO": {
      "additionalProperties": false,
      "properties": {
        "deletionDate": {
          "type": "string"
        },
        "deletionStatus": {
          "$ref": "#/definitions/PeerDeletionStatus"
        }
      },
      "required": [
        "deletionStatus",
        "deletionDate"
      ],
      "type": "object"
    },
    "PeerDeletionStatus": {
      "enum": [
        "ToBeDeleted",
        "Deleted"
      ],
      "type": "string"
    },
    "PhoneNumberJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "PhoneNumber",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "PostOfficeBoxAddressJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "PostOfficeBoxAddress",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "boxId": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "recipient": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "zipCode": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "boxId",
        "city",
        "country",
        "recipient",
        "zipCode"
      ],
      "type": "object"
    },
    "ProposeAttributeAcceptResponseItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProposeAttributeAcceptResponseItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "attribute": {
          "anyOf": [
            {
              "$ref": "#/definitions/IdentityAttributeJSON"
            },
            {
              "$ref": "#/definitions/RelationshipAttributeJSON"
            }
          ]
        },
        "attributeId": {
          "type": "string"
        },
        "result": {
          "const": "Accepted",
          "type": "string"
        }
      },
      "required": [
        "@type",
        "attribute",
        "attributeId",
        "result"
      ],
      "type": "object"
    },
    "ProposeAttributeRequestItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProposeAttributeRequestItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "attribute": {
          "anyOf": [
            {
              "$ref": "#/definitions/IdentityAttributeJSON"
            },
            {
              "$ref": "#/definitions/RelationshipAttributeJSON"
            }
          ]
        },
        "description": {
          "description": "The human-readable description of this item.",
          "type": "string"
        },
        "metadata": {
          "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response.",
          "type": "object"
        },
        "mustBeAccepted": {
          "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not.",
          "type": "boolean"
        },
        "query": {
          "anyOf": [
            {
              "$ref": "#/definitions/IdentityAttributeQueryJSON"
            },
            {
              "$ref": "#/definitions/RelationshipAttributeQueryJSON"
            },
            {
              "$ref": "#/definitions/IQLQueryJSON"
            }
          ]
        }
      },
      "required": [
        "@type",
        "attribute",
        "mustBeAccepted",
        "query"
      ],
      "type": "object"
    },
    "ProprietaryBooleanJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProprietaryBoolean",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "value": {
          "type": "boolean"
        },
        "valueHintsOverride": {
          "$ref": "#/definitions/ValueHintsOverrideJSON"
        }
      },
      "required": [
        "@type",
        "title",
        "value"
      ],
      "type": "object"
    },
    "ProprietaryCountryJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProprietaryCountry",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "valueHintsOverride": {
          "$ref": "#/definitions/ValueHintsOverrideJSON"
        }
      },
      "required": [
        "@type",
        "title",
        "value"
      ],
      "type": "object"
    },
    "ProprietaryEMailAddressJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProprietaryEMailAddress",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "valueHintsOverride": {
          "$ref": "#/definitions/ValueHintsOverrideJSON"
        }
      },
      "required": [
        "@type",
        "title",
        "value"
      ],
      "type": "object"
    },
    "ProprietaryFileReferenceJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProprietaryFileReference",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "valueHintsOverride": {
          "$ref": "#/definitions/ValueHintsOverrideJSON"
        }
      },
      "required": [
        "@type",
        "title",
        "value"
      ],
      "type": "object"
    },
    "ProprietaryFloatJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProprietaryFloat",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "value": {
          "type": "number"
        },
        "valueHintsOverride": {
          "$ref": "#/definitions/ValueHintsOverrideJSON"
        }
      },
      "required": [
        "@type",
        "title",
        "value"
      ],
      "type": "object"
    },
    "ProprietaryHEXColorJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProprietaryHEXColor",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "valueHintsOverride": {
          "$ref": "#/definitions/ValueHintsOverrideJSON"
        }
      },
      "required": [
        "@type",
        "title",
        "value"
      ],
      "type": "object"
    },
    "ProprietaryIntegerJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProprietaryInteger",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "value": {
          "type": "number"
        },
        "valueHintsOverride": {
          "$ref": "#/definitions/ValueHintsOverrideJSON"
        }
      },
      "required": [
        "@type",
        "title",
        "value"
      ],
      "type": "object"
    },
    "ProprietaryJSONJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProprietaryJSON",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "value": {}
      },
      "required": [
        "@type",
        "title",
        "value"
      ],
      "type": "object"
    },
    "ProprietaryLanguageJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProprietaryLanguage",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "valueHintsOverride": {
          "$ref": "#/definitions/ValueHintsOverrideJSON"
        }
      },
      "required": [
        "@type",
        "title",
        "value"
      ],
      "type": "object"
    },
    "ProprietaryPhoneNumberJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProprietaryPhoneNumber",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "valueHintsOverride": {
          "$ref": "#/definitions/ValueHintsOverrideJSON"
        }
      },
      "required": [
        "@type",
        "title",
        "value"
      ],
      "type": "object"
    },
    "ProprietaryStringJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProprietaryString",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "valueHintsOverride": {
          "$ref": "#/definitions/ValueHintsOverrideJSON"
        }
      },
      "required": [
        "@type",
        "title",
        "value"
      ],
      "type": "object"
    },
    "ProprietaryURLJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProprietaryURL",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "valueHintsOverride": {
          "$ref": "#/definitions/ValueHintsOverrideJSON"
        }
      },
      "required": [
        "@type",
        "title",
        "value"
      ],
      "type": "object"
    },
    "ProprietaryXMLJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ProprietaryXML",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "schemaURL": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "valueHintsOverride": {
          "$ref": "#/definitions/ValueHintsOverrideJSON"
        }
      },
      "required": [
        "@type",
        "title",
        "value"
      ],
      "type": "object"
    },
    "PseudonymJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "Pseudonym",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "RatingFormFieldSettingsJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "RatingFormFieldSettings",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "maxRating": {
          "enum": [
            5,
            6,
            7,
            8,
            9,
            10
          ],
          "type": "number"
        }
      },
      "required": [
        "@type",
        "maxRating"
      ],
      "type": "object"
    },
    "ReadAttributeAcceptResponseItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ReadAttributeAcceptResponseItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "attribute": {
          "anyOf": [
            {
              "$ref": "#/definitions/IdentityAttributeJSON"
            },
            {
              "$ref": "#/definitions/RelationshipAttributeJSON"
            }
          ]
        },
        "attributeId": {
          "type": "string"
        },
        "initialAttributePeer": {
          "type": "string"
        },
        "result": {
          "const": "Accepted",
          "type": "string"
        }
      },
      "required": [
        "@type",
        "attribute",
        "attributeId",
        "result"
      ],
      "type": "object"
    },
    "ReadAttributeRequestItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ReadAttributeRequestItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "description": "The human-readable description of this item.",
          "type": "string"
        },
        "metadata": {
          "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response.",
          "type": "object"
        },
        "mustBeAccepted": {
          "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not.",
          "type": "boolean"
        },
        "query": {
          "anyOf": [
            {
              "$ref": "#/definitions/IdentityAttributeQueryJSON"
            },
            {
              "$ref": "#/definitions/RelationshipAttributeQueryJSON"
            },
            {
              "$ref": "#/definitions/ThirdPartyRelationshipAttributeQueryJSON"
            },
            {
              "$ref": "#/definitions/IQLQueryJSON"
            }
          ]
        }
      },
      "required": [
        "@type",
        "mustBeAccepted",
        "query"
      ],
      "type": "object"
    },
    "RejectIncomingRequestRequest": {
      "additionalProperties": false,
      "properties": {
        "items": {
          "items": {
            "anyOf": [
              {
                "$ref": "#/definitions/DecideRequestItem"
              },
              {
                "$ref": "#/definitions/DecideRequestItemGroup"
              }
            ]
          },
          "type": "array"
        }
      },
      "required": [
        "items"
      ],
      "type": "object"
    },
    "RejectRequestItem": {
      "additionalProperties": false,
      "properties": {
        "accept": {
          "const": false,
          "type": "boolean"
        },
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "accept"
      ],
      "type": "object"
    },
    "RejectResponseItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "RejectResponseItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "result": {
          "const": "Rejected",
          "type": "string"
        }
      },
      "required": [
        "@type",
        "result"
      ],
      "type": "object"
    },
    "RejectResponseItemJSONDerivations": {
      "$ref": "#/definitions/RejectResponseItemJSON"
    },
    "RelationshipAttributeConfidentiality": {
      "enum": [
        "public",
        "private",
        "protected"
      ],
      "type": "string"
    },
    "RelationshipAttributeCreationHintsJSON": {
      "additionalProperties": false,
      "properties": {
        "confidentiality": {
          "$ref": "#/definitions/RelationshipAttributeConfidentiality"
        },
        "description": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "valueHints": {
          "$ref": "#/definitions/ValueHintsJSON"
        },
        "valueType": {
          "$ref": "#/definitions/AttributeValues.Relationship.TypeName"
        }
      },
      "required": [
        "title",
        "valueType",
        "confidentiality"
      ],
      "type": "object"
    },
    "RelationshipAttributeJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "RelationshipAttribute",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "confidentiality": {
          "$ref": "#/definitions/RelationshipAttributeConfidentiality"
        },
        "isTechnical": {
          "type": "boolean"
        },
        "key": {
          "type": "string"
        },
        "owner": {
          "type": "string"
        },
        "value": {
          "$ref": "#/definitions/AttributeValues.Relationship.Json"
        }
      },
      "required": [
        "@type",
        "confidentiality",
        "key",
        "owner",
        "value"
      ],
      "type": "object"
    },
    "RelationshipAttributeQueryJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "RelationshipAttributeQuery",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "attributeCreationHints": {
          "$ref": "#/definitions/RelationshipAttributeCreationHintsJSON"
        },
        "key": {
          "type": "string"
        },
        "owner": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "attributeCreationHints",
        "key",
        "owner"
      ],
      "type": "object"
    },
    "RelationshipAuditLogDTO": {
      "items": {
        "$ref": "#/definitions/RelationshipAuditLogEntryDTO"
      },
      "type": "array"
    },
    "RelationshipAuditLogEntryDTO": {
      "additionalProperties": false,
      "properties": {
        "createdAt": {
          "type": "string"
        },
        "createdBy": {
          "type": "string"
        },
        "createdByDevice": {
          "type": "string"
        },
        "newStatus": {
          "$ref": "#/definitions/RelationshipStatus"
        },
        "oldStatus": {
          "$ref": "#/definitions/RelationshipStatus"
        },
        "reason": {
          "$ref": "#/definitions/RelationshipAuditLogEntryReason"
        }
      },
      "required": [
        "createdAt",
        "createdBy",
        "reason",
        "newStatus"
      ],
      "type": "object"
    },
    "RelationshipAuditLogEntryReason": {
      "enum": [
        "Creation",
        "AcceptanceOfCreation",
        "RejectionOfCreation",
        "RevocationOfCreation",
        "Termination",
        "ReactivationRequested",
        "AcceptanceOfReactivation",
        "RejectionOfReactivation",
        "RevocationOfReactivation",
        "Decomposition",
        "DecompositionDueToIdentityDeletion"
      ],
      "type": "string"
    },
    "RelationshipCreationContentDerivation": {
      "anyOf": [
        {
          "$ref": "#/definitions/RelationshipCreationContentJSON"
        },
        {
          "$ref": "#/definitions/ArbitraryRelationshipCreationContentJSON"
        }
      ]
    },
    "RelationshipCreationContentJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "RelationshipCreationContent",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "response": {
          "$ref": "#/definitions/ResponseJSON"
        }
      },
      "required": [
        "@type",
        "response"
      ],
      "type": "object"
    },
    "RelationshipDTO": {
      "additionalProperties": false,
      "properties": {
        "auditLog": {
          "$ref": "#/definitions/RelationshipAuditLogDTO"
        },
        "creationContent": {
          "$ref": "#/definitions/RelationshipCreationContentDerivation"
        },
        "id": {
          "type": "string"
        },
        "peer": {
          "type": "string"
        },
        "peerDeletionInfo": {
          "$ref": "#/definitions/PeerDeletionInfoDTO"
        },
        "peerIdentity": {
          "$ref": "#/definitions/IdentityDTO"
        },
        "status": {
          "$ref": "#/definitions/RelationshipStatus"
        },
        "templateId": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "templateId",
        "status",
        "peer",
        "peerIdentity",
        "creationContent",
        "auditLog"
      ],
      "type": "object"
    },
    "RelationshipStatus": {
      "enum": [
        "Pending",
        "Active",
        "Rejected",
        "Revoked",
        "Terminated",
        "DeletionProposed"
      ],
      "type": "string"
    },
    "RelationshipTemplateContentJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "RelationshipTemplateContent",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "metadata": {
          "type": "object"
        },
        "onExistingRelationship": {
          "$ref": "#/definitions/RequestJSON"
        },
        "onNewRelationship": {
          "$ref": "#/definitions/RequestJSON"
        },
        "title": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "onNewRelationship"
      ],
      "type": "object"
    },
    "RequestItemGroupJSON": {
      "additionalProperties": false,
      "description": "A RequestItemGroup can be used to group one or more RequestItems. This is useful if you want to visually group RequestItems on the UI and give them a common `title` or `description`.",
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "RequestItemGroup",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "description": "The human-readable description of this group.",
          "type": "string"
        },
        "items": {
          "description": "The items of this group.",
          "items": {
            "$ref": "#/definitions/RequestItemJSONDerivations"
          },
          "type": "array"
        },
        "metadata": {
          "description": "This property can be used to add some arbitrary metadata to this group. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the group content as they receive the response.",
          "type": "object"
        },
        "title": {
          "description": "The human-readable title of this group.",
          "type": "string"
        }
      },
      "required": [
        "@type",
        "items"
      ],
      "type": "object"
    },
    "RequestItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "description": "The human-readable description of this item.",
          "type": "string"
        },
        "metadata": {
          "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response.",
          "type": "object"
        },
        "mustBeAccepted": {
          "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not.",
          "type": "boolean"
        }
      },
      "required": [
        "@type",
        "mustBeAccepted"
      ],
      "type": "object"
    },
    "RequestItemJSONDerivations": {
      "anyOf": [
        {
          "$ref": "#/definitions/RequestItemJSON"
        },
        {
          "$ref": "#/definitions/CreateAttributeRequestItemJSON"
        },
        {
          "$ref": "#/definitions/DeleteAttributeRequestItemJSON"
        },
        {
          "$ref": "#/definitions/ShareAttributeRequestItemJSON"
        },
        {
          "$ref": "#/definitions/ProposeAttributeRequestItemJSON"
        },
        {
          "$ref": "#/definitions/ReadAttributeRequestItemJSON"
        },
        {
          "$ref": "#/definitions/ConsentRequestItemJSON"
        },
        {
          "$ref": "#/definitions/AuthenticationRequestItemJSON"
        },
        {
          "$ref": "#/definitions/FormFieldRequestItemJSON"
        },
        {
          "$ref": "#/definitions/TransferFileOwnershipRequestItemJSON"
        },
        {
          "$ref": "#/definitions/ShareCredentialOfferRequestItemJSON"
        },
        {
          "$ref": "#/definitions/ShareAuthorizationRequestRequestItemJSON"
        }
      ]
    },
    "RequestJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "Request",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "description": "The human-readable description of this Request.",
          "type": "string"
        },
        "expiresAt": {
          "default": "undefined - the request won't expire",
          "description": "The point in time the request is considered obsolete either technically (e.g. the request is no longer valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer of interest).",
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "items": {
          "description": "The items of the Request. Can be either a single  {@link  RequestItemJSONDerivations RequestItem }  or a  {@link  RequestItemGroupJSON RequestItemGroup } , which itself can contain further  {@link  RequestItemJSONDerivations RequestItems } .",
          "items": {
            "anyOf": [
              {
                "$ref": "#/definitions/RequestItemGroupJSON"
              },
              {
                "$ref": "#/definitions/RequestItemJSONDerivations"
              }
            ]
          },
          "type": "array"
        },
        "metadata": {
          "description": "This property can be used to add some arbitrary metadata to this request. The content of this property will be copied into the response on the side of the recipient.",
          "type": "object"
        },
        "title": {
          "description": "The human-readable title of this Request.",
          "type": "string"
        }
      },
      "required": [
        "@type",
        "items"
      ],
      "type": "object"
    },
    "ResponseItemGroupJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ResponseItemGroup",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "items": {
          "items": {
            "$ref": "#/definitions/ResponseItemJSONDerivations"
          },
          "type": "array"
        }
      },
      "required": [
        "@type",
        "items"
      ],
      "type": "object"
    },
    "ResponseItemJSONDerivations": {
      "anyOf": [
        {
          "$ref": "#/definitions/AcceptResponseItemJSONDerivations"
        },
        {
          "$ref": "#/definitions/RejectResponseItemJSONDerivations"
        },
        {
          "$ref": "#/definitions/ErrorResponseItemJSONDerivations"
        }
      ]
    },
    "ResponseJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "Response",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "items": {
          "items": {
            "anyOf": [
              {
                "$ref": "#/definitions/ResponseItemGroupJSON"
              },
              {
                "$ref": "#/definitions/ResponseItemJSONDerivations"
              }
            ]
          },
          "type": "array"
        },
        "requestId": {
          "type": "string"
        },
        "result": {
          "$ref": "#/definitions/ResponseResult"
        }
      },
      "required": [
        "@type",
        "items",
        "requestId",
        "result"
      ],
      "type": "object"
    },
    "ResponseResult": {
      "enum": [
        "Accepted",
        "Rejected"
      ],
      "type": "string"
    },
    "ResponseWrapperJSON": {
      "additionalProperties": false,
      "properties": {
        "@type": {
          "const": "ResponseWrapper",
          "type": "string"
        },
        "requestId": {
          "type": "string"
        },
        "requestSourceReference": {
          "type": "string"
        },
        "requestSourceType": {
          "enum": [
            "RelationshipTemplate",
            "Message"
          ],
          "type": "string"
        },
        "response": {
          "$ref": "#/definitions/ResponseJSON"
        }
      },
      "required": [
        "@type",
        "requestId",
        "requestSourceReference",
        "requestSourceType",
        "response"
      ],
      "type": "object"
    },
    "RuntimeHealth": {
      "additionalProperties": false,
      "properties": {
        "isHealthy": {
          "type": "boolean"
        },
        "services": {
          "additionalProperties": {
            "enum": [
              "healthy",
              "unhealthy"
            ],
            "type": "string"
          },
          "type": "object"
        }
      },
      "required": [
        "isHealthy",
        "services"
      ],
      "type": "object"
    },
    "SchematizedJSONJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "SchematizedJSON",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "schemaURL": {
          "type": "string"
        },
        "value": {}
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "SchematizedXMLJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "SchematizedXML",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "schemaURL": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "SelectionFormFieldSettingsJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "SelectionFormFieldSettings",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "allowMultipleSelection": {
          "const": true,
          "type": "boolean"
        },
        "options": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "@type",
        "options"
      ],
      "type": "object"
    },
    "SendMessageRequest": {
      "additionalProperties": false,
      "properties": {
        "attachments": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "content": {
          "anyOf": [
            {
              "$ref": "#/definitions/MailJSON"
            },
            {
              "$ref": "#/definitions/ResponseWrapperJSON"
            },
            {
              "$ref": "#/definitions/RequestJSON"
            },
            {
              "$ref": "#/definitions/NotificationJSON"
            },
            {
              "$ref": "#/definitions/ArbitraryMessageContentJSON"
            }
          ]
        },
        "recipients": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "recipients",
        "content"
      ],
      "type": "object"
    },
    "SexJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "Sex",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "ShareAttributeRequestItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ShareAttributeRequestItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "attribute": {
          "anyOf": [
            {
              "$ref": "#/definitions/IdentityAttributeJSON"
            },
            {
              "$ref": "#/definitions/RelationshipAttributeJSON"
            }
          ]
        },
        "attributeId": {
          "type": "string"
        },
        "description": {
          "description": "The human-readable description of this item.",
          "type": "string"
        },
        "initialAttributePeer": {
          "type": "string"
        },
        "metadata": {
          "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response.",
          "type": "object"
        },
        "mustBeAccepted": {
          "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not.",
          "type": "boolean"
        }
      },
      "required": [
        "@type",
        "attribute",
        "attributeId",
        "mustBeAccepted"
      ],
      "type": "object"
    },
    "ShareAuthorizationRequestRequestItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ShareAuthorizationRequestRequestItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "authorizationRequestUrl": {
          "type": "string"
        },
        "description": {
          "description": "The human-readable description of this item.",
          "type": "string"
        },
        "metadata": {
          "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response.",
          "type": "object"
        },
        "mustBeAccepted": {
          "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not.",
          "type": "boolean"
        }
      },
      "required": [
        "@type",
        "authorizationRequestUrl",
        "mustBeAccepted"
      ],
      "type": "object"
    },
    "ShareCredentialOfferRequestItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ShareCredentialOfferRequestItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "credentialOfferUrl": {
          "type": "string"
        },
        "description": {
          "description": "The human-readable description of this item.",
          "type": "string"
        },
        "metadata": {
          "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response.",
          "type": "object"
        },
        "mustBeAccepted": {
          "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not.",
          "type": "boolean"
        }
      },
      "required": [
        "@type",
        "credentialOfferUrl",
        "mustBeAccepted"
      ],
      "type": "object"
    },
    "StreetAddressJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "StreetAddress",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "houseNo": {
          "type": "string"
        },
        "recipient": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "street": {
          "type": "string"
        },
        "zipCode": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "city",
        "country",
        "houseNo",
        "recipient",
        "street",
        "zipCode"
      ],
      "type": "object"
    },
    "StringFormFieldSettingsJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "StringFormFieldSettings",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "allowNewlines": {
          "const": true,
          "type": "boolean"
        },
        "max": {
          "type": "number"
        },
        "min": {
          "type": "number"
        }
      },
      "required": [
        "@type"
      ],
      "type": "object"
    },
    "SucceedAttributeRequest": {
      "additionalProperties": false,
      "properties": {
        "successorContent": {
          "additionalProperties": false,
          "properties": {
            "tags": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "value": {
              "anyOf": [
                {
                  "$ref": "#/definitions/AttributeValues.Identity.Json"
                },
                {
                  "$ref": "#/definitions/AttributeValues.Relationship.Json"
                }
              ]
            }
          },
          "required": [
            "value"
          ],
          "type": "object"
        }
      },
      "required": [
        "successorContent"
      ],
      "type": "object"
    },
    "SucceedAttributeResponse": {
      "additionalProperties": false,
      "properties": {
        "predecessor": {
          "$ref": "#/definitions/LocalAttributeDTO"
        },
        "successor": {
          "$ref": "#/definitions/LocalAttributeDTO"
        }
      },
      "required": [
        "predecessor",
        "successor"
      ],
      "type": "object"
    },
    "SurnameJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "Surname",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    },
    "ThirdPartyRelationshipAttributeQueryJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ThirdPartyRelationshipAttributeQuery",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "owner": {
          "enum": [
            "thirdParty",
            "recipient",
            ""
          ],
          "type": "string"
        },
        "thirdParty": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "@type",
        "key",
        "owner",
        "thirdParty"
      ],
      "type": "object"
    },
    "TransferFileOwnershipAcceptResponseItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "TransferFileOwnershipAcceptResponseItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "attribute": {
          "$ref": "#/definitions/IdentityAttributeJSON"
        },
        "attributeId": {
          "type": "string"
        },
        "result": {
          "const": "Accepted",
          "type": "string"
        }
      },
      "required": [
        "@type",
        "attribute",
        "attributeId",
        "result"
      ],
      "type": "object"
    },
    "TransferFileOwnershipRequestItemJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "TransferFileOwnershipRequestItem",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "description": {
          "description": "The human-readable description of this item.",
          "type": "string"
        },
        "fileReference": {
          "type": "string"
        },
        "metadata": {
          "description": "This property can be used to add some arbitrary metadata to this item. The content of this property will be copied into the response on the side of the recipient, so the sender can use it to identify the item as they receive the response.",
          "type": "object"
        },
        "mustBeAccepted": {
          "description": "If set to `true`, the recipient has to accept this item if they want to accept the Request. If set to `false`, the recipient can decide whether they want to accept it or not.",
          "type": "boolean"
        },
        "ownershipToken": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "fileReference",
        "mustBeAccepted",
        "ownershipToken"
      ],
      "type": "object"
    },
    "UploadOwnFileRequest": {
      "additionalProperties": false,
      "properties": {
        "description": {
          "type": "string"
        },
        "expiresAt": {
          "type": "string"
        },
        "file": {
          "additionalProperties": {
            "type": "number"
          },
          "properties": {
            "BYTES_PER_ELEMENT": {
              "type": "number"
            },
            "buffer": {
              "additionalProperties": false,
              "properties": {
                "byteLength": {
                  "type": "number"
                }
              },
              "required": [
                "byteLength"
              ],
              "type": "object"
            },
            "byteLength": {
              "type": "number"
            },
            "byteOffset": {
              "type": "number"
            },
            "length": {
              "type": "number"
            }
          },
          "required": [
            "BYTES_PER_ELEMENT",
            "buffer",
            "byteLength",
            "byteOffset",
            "length"
          ],
          "type": "object"
        },
        "filename": {
          "type": "string"
        },
        "tags": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "title": {
          "type": "string"
        }
      },
      "required": [
        "expiresAt",
        "file",
        "filename"
      ],
      "type": "object"
    },
    "UpsertIdentityMetadataRequest": {
      "additionalProperties": false,
      "properties": {
        "key": {
          "type": "string"
        },
        "reference": {
          "type": "string"
        },
        "value": {}
      },
      "required": [
        "reference",
        "value"
      ],
      "type": "object"
    },
    "ValidateChallengeRequest": {
      "additionalProperties": false,
      "properties": {
        "challengeString": {
          "type": "string"
        },
        "signature": {
          "type": "string"
        }
      },
      "required": [
        "challengeString",
        "signature"
      ],
      "type": "object"
    },
    "ValueHintsJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ValueHints",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "defaultValue": {
          "type": [
            "string",
            "number",
            "boolean"
          ]
        },
        "editHelp": {
          "type": "string"
        },
        "max": {
          "type": "number"
        },
        "min": {
          "type": "number"
        },
        "pattern": {
          "type": "string"
        },
        "propertyHints": {
          "additionalProperties": {
            "$ref": "#/definitions/ValueHintsJSON"
          },
          "type": "object"
        },
        "values": {
          "items": {
            "$ref": "#/definitions/ValueHintsValueJSON"
          },
          "type": "array"
        }
      },
      "required": [
        "@type"
      ],
      "type": "object"
    },
    "ValueHintsOverrideJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "ValueHints",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "defaultValue": {
          "type": [
            "string",
            "number",
            "boolean"
          ]
        },
        "editHelp": {
          "type": "string"
        },
        "max": {
          "type": "number"
        },
        "min": {
          "type": "number"
        },
        "pattern": {
          "type": "string"
        },
        "propertyHints": {
          "additionalProperties": {
            "$ref": "#/definitions/ValueHintsJSON"
          },
          "type": "object"
        },
        "values": {
          "items": {
            "$ref": "#/definitions/ValueHintsValueJSON"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "ValueHintsValueJSON": {
      "additionalProperties": false,
      "properties": {
        "displayName": {
          "type": "string"
        },
        "key": {
          "type": [
            "string",
            "number",
            "boolean"
          ]
        }
      },
      "required": [
        "key",
        "displayName"
      ],
      "type": "object"
    },
    "VerifiableCredentialJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "VerifiableCredential",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "displayInformation": {
          "items": {
            "type": "object"
          },
          "type": "array"
        },
        "type": {
          "type": "string"
        },
        "value": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "object"
            }
          ]
        }
      },
      "required": [
        "@type",
        "type",
        "value"
      ],
      "type": "object"
    },
    "WebsiteJSON": {
      "additionalProperties": false,
      "properties": {
        "@context": {
          "type": "string"
        },
        "@type": {
          "const": "Website",
          "type": "string"
        },
        "@version": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "@type",
        "value"
      ],
      "type": "object"
    }
  }
}