app.chronosky.plan.getAssignment

lexicon.store View official

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

Validate Record

Validate a record against app.chronosky.plan.getAssignment

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:web:lexicon.store
CID
bafyreifx7laclanmhltwolrxcydkfo2xy7ufqpl2p6p6wknerso5nbkmue
Indexed At
2026-03-20 15:55 UTC
AT-URI
at://did:web:lexicon.store/com.atproto.lexicon.schema/app.chronosky.plan.getAssignment

Lexicon Garden

@