{
  "$defs": {
    "Inbox": {
      "description": "Inbox is used to store data about a connection with a service that is responsible for potentially receiving copies of GOBL envelopes or other document formats defined locally.",
      "properties": {
        "code": {
          "description": "Actual Code or ID that identifies the Inbox.",
          "type": "string"
        },
        "key": {
          "$ref": "https://gobl.org/draft-0/cbc/key",
          "description": "Type of inbox being defined.",
          "title": "Key"
        },
        "name": {
          "description": "Human name for the inbox.",
          "title": "Name",
          "type": "string"
        },
        "role": {
          "$ref": "https://gobl.org/draft-0/cbc/key",
          "description": "Role assigned to this inbox that may be relevant for the consumer.",
          "title": "Role"
        },
        "uuid": {
          "description": "Universally Unique Identifier.",
          "format": "uuid",
          "title": "UUID",
          "type": "string"
        }
      },
      "required": [
        "key",
        "code"
      ],
      "type": "object"
    }
  },
  "$id": "https://gobl.org/draft-0/org/inbox",
  "$ref": "#/$defs/Inbox",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}