{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aicontentdrop-com/json-schema/aicontentdrop-com-agent-registration-schema.json",
  "title": "AgentRegistration",
  "description": "201 from POST /agent/auth/register. One unauthenticated call returns a usable read-scope bearer token — no email, no human, no approval.",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aicontentdrop-com-openapi.json#/components/schemas/AgentRegistration",
  "type": "object",
  "required": [
    "client_id",
    "access_token",
    "token_type",
    "expires_in",
    "scope"
  ],
  "properties": {
    "client_id": {
      "type": "string"
    },
    "client_secret": {
      "type": "string",
      "description": "Shown once. Needed only to claim the client against a real account later."
    },
    "client_name": {
      "type": "string"
    },
    "identity_type": {
      "type": "string",
      "enum": [
        "anonymous"
      ]
    },
    "access_token": {
      "type": "string",
      "description": "Send as `Authorization: Bearer <token>`."
    },
    "token_type": {
      "type": "string",
      "enum": [
        "Bearer"
      ]
    },
    "expires_in": {
      "type": "integer",
      "description": "Seconds until expiry (86400)."
    },
    "expires_at": {
      "type": "integer",
      "description": "Unix seconds."
    },
    "scope": {
      "type": "string",
      "enum": [
        "read"
      ],
      "description": "Read only. This token cannot spend credits."
    },
    "claim_uri": {
      "type": "string",
      "format": "uri"
    },
    "revocation_uri": {
      "type": "string",
      "format": "uri"
    },
    "documentation": {
      "type": "string",
      "format": "uri"
    },
    "note": {
      "type": "string"
    }
  }
}