Skip to content

Tag

A Tag is a name and a value, such as department: marketing, that your ABAC policy can decide on. Objects and accounts carry them in tags. Tags are an ObjectsGrid extension for access control, not a Schema.org property.

  • A name may repeat on one object (role: buyer and role: approver), but the same name and value appear only once.
  • Names use lowercase letters, digits and -, in parts separated by ., such as cost-center or acme.region. Values are compared exactly, case included.
  • Every stored object has tags: it is created empty when you don't send it, kept by a PUT that leaves it out, unchanged by a PATCH that leaves it out, and cleared by null or [].
  • Names starting with security. are reserved for the platform. See Access control.

JSON Schema

Example

[
  {
    "name": "department",
    "val": "marketing"
  },
  {
    "name": "role",
    "val": "buyer"
  }
]

Fields

Required: name, val.

Field Type Required Description
name string Yes Lowercase letters, digits and "-", in parts separated by "."; each part starts with a letter and does not end with "-". Examples: role, cost-center, acme.region.
val string Yes The value, compared exactly (case included).