{
  "$defs": {
    "CodeMap": {
      "description": "CodeMap is a map of keys to specific codes, useful to determine regime specific codes from their key counterparts.",
      "patternProperties": {
        "^(?:[a-z]|[a-z0-9][a-z0-9-+]*[a-z0-9])$": {
          "$ref": "https://gobl.org/draft-0/cbc/code"
        }
      },
      "type": "object"
    }
  },
  "$id": "https://gobl.org/draft-0/cbc/code-map",
  "$ref": "#/$defs/CodeMap",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}