{
  "$defs": {
    "CodeDefinition": {
      "description": "CodeDefinition describes a specific code and how it maps to a human name and description if appropriate.",
      "properties": {
        "code": {
          "$ref": "https://gobl.org/draft-0/cbc/code",
          "description": "Code for which the definition is for.",
          "title": "Code"
        },
        "desc": {
          "$ref": "https://gobl.org/draft-0/i18n/string",
          "description": "Description offering more details about when the code should be used.",
          "title": "Description"
        },
        "meta": {
          "$ref": "https://gobl.org/draft-0/cbc/meta",
          "description": "Meta defines any additional details that may be useful or associated\nwith the code.",
          "title": "Meta"
        },
        "name": {
          "$ref": "https://gobl.org/draft-0/i18n/string",
          "description": "Short name for the code, if relevant.",
          "title": "Name"
        }
      },
      "required": [
        "code"
      ],
      "type": "object"
    }
  },
  "$id": "https://gobl.org/draft-0/cbc/code-definition",
  "$ref": "#/$defs/CodeDefinition",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}