{
  "description": "ClusterRegistrationToken is used by agents to register a new cluster.",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": "string"
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "properties": {
        "ttl": {
          "description": "TTL is the time to live for the token. It is used to calculate the\nexpiration time. If the token expires, it will be deleted.",
          "nullable": true,
          "type": "string"
        }
      },
      "type": "object"
    },
    "status": {
      "properties": {
        "expires": {
          "description": "Expires is the time when the token expires.",
          "format": "date-time",
          "type": "string"
        },
        "secretName": {
          "description": "SecretName is the name of the secret containing the token.",
          "nullable": true,
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ClusterRegistrationToken v1alpha1"
}