app.chronosky.plan.getAssignment

chronosky.app

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get the authenticated user's active plan assignment",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "assignment": {
              "description": "Active plan assignment (null if no active plan)",
              "ref": "#planAssignment",
              "type": "ref"
            },
            "message": {
              "description": "Response message",
              "maxLength": 1000,
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "type": "query"
    },
    "planAssignment": {
      "description": "Plan assignment details.",
      "properties": {
        "activatedAt": {
          "description": "Plan activation timestamp",
          "format": "datetime",
          "maxLength": 100,
          "type": "string"
        },
        "expiresAt": {
          "description": "Plan expiration timestamp",
          "format": "datetime",
          "maxLength": 100,
          "type": "string"
        },
        "id": {
          "description": "Plan assignment ID",
          "maxLength": 100,
          "type": "string"
        },
        "plan": {
          "ref": "#planInfo",
          "type": "ref"
        },
        "planId": {
          "description": "Plan ID",
          "maxLength": 100,
          "type": "string"
        },
        "status": {
          "description": "Plan assignment status",
          "enum": [
            "ACTIVE",
            "EXPIRED",
            "CANCELLED"
          ],
          "maxLength": 20,
          "type": "string"
        },
        "ticket": {
          "description": "Ticket information (if redeemed from ticket)",
          "ref": "#ticketInfo",
          "type": "ref"
        }
      },
      "required": [
        "id",
        "planId",
        "plan",
        "activatedAt",
        "expiresAt",
        "status"
      ],
      "type": "object"
    },
    "planInfo": {
      "description": "Plan information.",
      "properties": {
        "description": {
          "description": "Plan description",
          "maxLength": 1000,
          "type": "string"
        },
        "id": {
          "description": "Plan ID",
          "maxLength": 100,
          "type": "string"
        },
        "maxConcurrentPosts": {
          "description": "Maximum concurrent posts",
          "type": "integer"
        },
        "maxImagesPerPost": {
          "description": "Maximum images per post",
          "type": "integer"
        },
        "maxPostsPerDay": {
          "description": "Maximum posts per day",
          "type": "integer"
        },
        "maxScheduleDays": {
          "description": "Maximum days to schedule in advance",
          "type": "integer"
        },
        "maxThreadPosts": {
          "description": "Maximum posts per thread",
          "type": "integer"
        },
        "minScheduleInterval": {
          "description": "Minimum interval between posts (minutes)",
          "type": "integer"
        },
        "name": {
          "description": "Plan name",
          "maxLength": 200,
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "type": "object"
    },
    "ticketInfo": {
      "description": "Ticket information.",
      "properties": {
        "code": {
          "description": "Ticket code",
          "maxLength": 100,
          "type": "string"
        },
        "id": {
          "description": "Ticket ID",
          "maxLength": 100,
          "type": "string"
        }
      },
      "required": [
        "id",
        "code"
      ],
      "type": "object"
    }
  },
  "id": "app.chronosky.plan.getAssignment",
  "lexicon": 1
}

Validate Record

Validate a record against app.chronosky.plan.getAssignment

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:bfjib7fy6dob3gyfssyfd4ry
CID
bafyreifx7laclanmhltwolrxcydkfo2xy7ufqpl2p6p6wknerso5nbkmue
Indexed At
2026-02-18 18:03 UTC
AT-URI
at://did:plc:bfjib7fy6dob3gyfssyfd4ry/com.atproto.lexicon.schema/app.chronosky.plan.getAssignment

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@