changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "acknowledgment": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Customer-facing sentence to relay, including the confirmation link"
+ },
+ "confirmation_token": {
+ "description": "Capability token for this subscriber only — it is the proof of consent; never pass it to another tool or party",
+ "type": "string"
+ },
+ "confirmation_url": {
+ "description": "The link the user must open within 7 days to start receiving updates",
+ "type": "string"
+ },
+ "expires_at": {
+ "description": "Unix seconds when confirmation_url stops working",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "idempotent_replay": {
+ "description": "Present and true when this idempotency_key already had a subscription; the stored token is returned, refreshed only if it had expired",
+ "type": "boolean"
+ },
+ "status": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "'pending' until the user opens confirmation_url; a replay returns the stored state (e.g. 'confirmed' once they have)"
+ },
+ "subscription_id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "topics": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Normalised topic tags: trimmed, lower-cased, de-duplicated"
+ }
+ },
+ "required": [
+ "subscription_id",
+ "status",
+ "confirmation_token",
+ "confirmation_url",
+ "expires_at",
+ "topics",
+ "acknowledgment"
+ ],
+ "type": "object"
+}