{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/byrd/json-schema/byrd-post-login-schema.json",
  "title": "Post login",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/byrd-authentication-api-openapi.yml#/components/schemas/PostLogin",
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "description": "Your API key. A value containing `@` is treated as the email address you log in to the dashboard with."
    },
    "password": {
      "type": "string",
      "description": "Your API secret, or the password of your login email when `username` is an email address."
    },
    "validity": {
      "type": "integer",
      "default": 604800,
      "description": "How long the token stays valid, in seconds. Defaults to and is capped at 604800 (7 days)."
    }
  },
  "required": [
    "password",
    "username"
  ]
}