{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://objectsgrid.com/.well-known/objects-catalog/Tag/v1/schema.json",
  "title": "Tag",
  "description": "An ObjectsGrid tag: a name and a value an ABAC policy can decide on (input.subject.tags, input.object.tags, input.newObject.tags). An ObjectsGrid extension for access control, not a Schema.org property. A name may repeat on one object (role: brand-manager, role: power-user), so policies read a name as a set of values; the same name and value may appear only once. An update or patch that changes an object's tags is also decided as the action retag; a create's tags are decided with the create, on input.newObject. Names starting with \"security.\" are security tags: the platform defines each name and value and who may write it, whatever the ABAC policy says; any other name or value starting with \"security.\" is refused. security.role: organization-account-administrator makes a UserAccount or secret ServiceAccount an administrator of its OrganizationAccount: the ABAC policy is not evaluated for it, and only an administrator can grant or remove it.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "name": {
      "description": "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.",
      "type": "string",
      "minLength": 1,
      "maxLength": 63,
      "pattern": "^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z](?:[a-z0-9-]*[a-z0-9])?)*$"
    },
    "val": {
      "description": "The value, compared exactly (case included).",
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    }
  },
  "required": [
    "name",
    "val"
  ]
}
