Schema

NFC

The NFC object of the Printags API.

Fields

  • typestring: empty, uri, text, dynamic
  • contentstring
  • dynamicobject
  • dynamic.baseUrlstring (uri)required
  • dynamic.recordsobjectrequired
  • dynamic.records.recordIdinteger
  • dynamic.records.publicKeystringrequired
  • dynamic.records.privateKeystringrequired
  • optionsobject
    Encoding options applied during NFC encoding
  • options.lockboolean
    If true, the NFC chip is permanently locked (read-only) after encoding. This is irreversible.
  • options.uidboolean
    If true, the encoder reads and stores the chip UID without writing any payload.
Example
{
  "type": "empty",
  "content": "https://example.com",
  "dynamic": {
    "baseUrl": "https://example.com",
    "records": {
      "recordId": 1,
      "publicKey": "B5ADF942C642D16B2803CA672F47D11D",
      "privateKey": "82F87EB3F693B84BCC154A0373363A62"
    }
  },
  "options": {
    "lock": true,
    "uid": false
  }
}