{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/anthropic/main/json-schema/anthropic-beta-enrollment-url-schema.json",
  "title": "BetaEnrollmentUrl",
  "x-generated": "2026-09-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anthropic-user-profiles-api-openapi.yml#/components/schemas/BetaEnrollmentUrl",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "url",
    "expires_at",
    "type"
  ],
  "properties": {
    "url": {
      "description": "Enrollment URL to send to the end user. Valid until `expires_at`.",
      "type": "string"
    },
    "expires_at": {
      "description": "When this enrollment URL expires, in RFC 3339 format.",
      "allOf": [
        {
          "$ref": "#/$defs/BetaTimestamp"
        }
      ]
    },
    "type": {
      "description": "Object type. Always `enrollment_url`.",
      "type": "string",
      "enum": [
        "enrollment_url"
      ]
    }
  },
  "$defs": {
    "BetaTimestamp": {
      "description": "A timestamp in RFC 3339 format",
      "type": "string",
      "format": "date-time"
    }
  }
}