{
  "$defs": {
    "Party": {
      "description": "Party represents a person or business entity.",
      "properties": {
        "addresses": {
          "description": "Regular post addresses for where information should be sent if needed.",
          "items": {
            "$ref": "https://gobl.org/draft-0/org/address"
          },
          "title": "Postal Addresses",
          "type": "array"
        },
        "alias": {
          "description": "Alternate short name.",
          "title": "Alias",
          "type": "string"
        },
        "emails": {
          "description": "Electronic mail addresses",
          "items": {
            "$ref": "https://gobl.org/draft-0/org/email"
          },
          "title": "Email Addresses",
          "type": "array"
        },
        "ext": {
          "$ref": "https://gobl.org/draft-0/tax/extensions",
          "description": "Extension code map for any additional regime specific codes that may be required.",
          "title": "Ext"
        },
        "identities": {
          "description": "Set of codes used to identify the party in other systems.",
          "items": {
            "$ref": "https://gobl.org/draft-0/org/identity"
          },
          "title": "Identities",
          "type": "array"
        },
        "inboxes": {
          "description": "Digital inboxes used for forwarding electronic versions of documents",
          "items": {
            "$ref": "https://gobl.org/draft-0/org/inbox"
          },
          "title": "Inboxes",
          "type": "array"
        },
        "logos": {
          "description": "Images that can be used to identify the party visually.",
          "items": {
            "$ref": "https://gobl.org/draft-0/org/image"
          },
          "title": "Logos",
          "type": "array"
        },
        "meta": {
          "$ref": "https://gobl.org/draft-0/cbc/meta",
          "description": "Any additional semi-structured information that does not fit into the rest of the party.",
          "title": "Meta"
        },
        "name": {
          "description": "Legal name or representation of the organization.",
          "title": "Name",
          "type": "string"
        },
        "people": {
          "description": "Details of physical people who represent the party.",
          "items": {
            "$ref": "https://gobl.org/draft-0/org/person"
          },
          "title": "People",
          "type": "array"
        },
        "registration": {
          "$ref": "https://gobl.org/draft-0/org/registration",
          "description": "Additional registration details about the company that may need to be included in a document.",
          "title": "Registration"
        },
        "tax_id": {
          "$ref": "https://gobl.org/draft-0/tax/identity",
          "description": "The entity's legal ID code used for tax purposes. They may have other numbers, but we're only interested in those valid for tax purposes.",
          "title": "Tax Identity"
        },
        "telephones": {
          "description": "Regular telephone numbers",
          "items": {
            "$ref": "https://gobl.org/draft-0/org/telephone"
          },
          "title": "Telephone Numbers",
          "type": "array"
        },
        "uuid": {
          "description": "Universally Unique Identifier.",
          "format": "uuid",
          "title": "UUID",
          "type": "string"
        },
        "websites": {
          "description": "Public websites that provide further information about the party.",
          "items": {
            "$ref": "https://gobl.org/draft-0/org/website"
          },
          "title": "Websites",
          "type": "array"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    }
  },
  "$id": "https://gobl.org/draft-0/org/party",
  "$ref": "#/$defs/Party",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}