{
  "$defs": {
    "Item": {
      "description": "Item is used to describe a single product or service.",
      "properties": {
        "currency": {
          "$ref": "https://gobl.org/draft-0/currency/code",
          "description": "Currency used for the item's price.",
          "title": "Currency"
        },
        "description": {
          "description": "Detailed description of the item.",
          "title": "Description",
          "type": "string"
        },
        "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": "List of additional codes, IDs, or SKUs which can be used to identify the item. They should be agreed upon between supplier and customer.",
          "items": {
            "$ref": "https://gobl.org/draft-0/org/identity"
          },
          "title": "Identities",
          "type": "array"
        },
        "key": {
          "$ref": "https://gobl.org/draft-0/cbc/key",
          "description": "Special key used to classify the item sometimes required by some regimes.",
          "title": "Key"
        },
        "meta": {
          "$ref": "https://gobl.org/draft-0/cbc/meta",
          "description": "Additional meta information that may be useful",
          "title": "Meta"
        },
        "name": {
          "description": "Brief name of the item",
          "title": "Name",
          "type": "string"
        },
        "origin": {
          "$ref": "https://gobl.org/draft-0/l10n/country-code",
          "description": "Country code of where this item was from originally.",
          "title": "Country of Origin"
        },
        "price": {
          "$ref": "https://gobl.org/draft-0/num/amount",
          "description": "Base price of a single unit to be sold.",
          "title": "Price"
        },
        "ref": {
          "description": "Primary reference code that identifies this item.\nAdditional codes can be provided in the 'identities' property.",
          "title": "Ref",
          "type": "string"
        },
        "unit": {
          "$ref": "https://gobl.org/draft-0/org/unit",
          "description": "Unit of measure.",
          "title": "Unit"
        },
        "uuid": {
          "description": "Universally Unique Identifier.",
          "format": "uuid",
          "title": "UUID",
          "type": "string"
        }
      },
      "required": [
        "name",
        "price"
      ],
      "type": "object"
    }
  },
  "$id": "https://gobl.org/draft-0/org/item",
  "$ref": "#/$defs/Item",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}