Skip to main content
Static QR Category. Text category schema

Schema Structure

  • type (string) - enum: text (required)
  • data (object) (required)
    • text (string) (required) - Text to be encoded in the QR Code

Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "title": "Simple Text",
  "description": "Static QR Category. Text category schema",
  "examples": [],
  "additionalProperties": false,
  "required": [
    "type",
    "data"
  ],
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "text"
      ]
    },
    "data": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "text"
      ],
      "properties": {
        "text": {
          "type": "string",
          "description": "Text to be encoded in the QR Code"
        }
      }
    }
  }
}