{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://globaladalliance.com/downloads/schemas/ms-ads.schema.json",
  "title": "ms-ads.json well-known document",
  "type": "object",
  "required": ["ms_ads_version", "publisher_id", "ed25519_public_key", "authorized_nodes"],
  "additionalProperties": false,
  "properties": {
    "ms_ads_version": { "type": "string", "pattern": "^1$" },
    "publisher_id": { "type": "string", "minLength": 1 },
    "ed25519_public_key": { "type": "string", "contentEncoding": "base64" },
    "authorized_nodes": { "type": "array", "items": { "type": "string" }, "minItems": 1 },
    "updated_at": { "type": "string", "format": "date-time" }
  }
}