{
  "$id": "https://schemas.ump.dev/v1/note.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "Informational or warning note (e.g. ``ENGINE_STUB``, ``NOT_IMPLEMENTED_IN_POC``).",
  "properties": {
    "code": {
      "pattern": "^[A-Z][A-Z0-9_]*$",
      "title": "Code",
      "type": "string"
    },
    "gate": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Gate"
    },
    "message": {
      "title": "Message",
      "type": "string"
    },
    "severity": {
      "default": "info",
      "enum": [
        "info",
        "warn"
      ],
      "title": "Severity",
      "type": "string"
    }
  },
  "required": [
    "code",
    "message"
  ],
  "title": "Note",
  "type": "object"
}
