JSON Schema

Vendor

Vendor declaration object with free-form identifier, readable label, and policy metadata.

Properties

idstringrequired
minLength: 1
namestringrequired
minLength: 1
domainstringrequired
minLength: 1
privacyPolicyUrlstringrequired
format: uri
purposeIdsstring[]
item minLength: 1
descriptionstring
additionalIDsRecord<string, string>
key minLength: 1

Raw Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://navigator-consent.spec/schemas/vendor.schema.json",
  "title": "Vendor",
  "description": "Vendor declaration object with free-form identifier, readable label, and policy metadata.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "name",
    "domain",
    "privacyPolicyUrl"
  ],
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1
    },
    "name": {
      "type": "string",
      "minLength": 1
    },
    "domain": {
      "type": "string",
      "minLength": 1
    },
    "privacyPolicyUrl": {
      "type": "string",
      "format": "uri"
    },
    "purposeIds": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "description": {
      "type": "string"
    },
    "additionalIDs": {
      "type": "object",
      "propertyNames": {
        "type": "string",
        "minLength": 1
      },
      "additionalProperties": {
        "type": "string",
        "minLength": 1
      }
    }
  }
}