{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fnlowl-com/json-schema/fnlowl-com-oauth-request-schema.json",
  "title": "OAuthRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fnlowl-com-oauth-api-openapi.yml#/components/schemas/OAuthRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "clientName": {
      "type": "string"
    },
    "redirectHost": {
      "type": "string"
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "read",
          "write",
          "publish"
        ]
      }
    },
    "expiresAt": {
      "type": "integer"
    }
  },
  "required": [
    "id",
    "clientName",
    "redirectHost",
    "scopes",
    "expiresAt"
  ]
}