{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yawplet/json-schema/yawplet-oauth-client-schema.json",
  "title": "OAuthClient",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/yawplet-oauth-api-openapi.yml#/components/schemas/OAuthClient",
  "type": "object",
  "properties": {
    "client_id": {
      "type": "string"
    },
    "client_id_issued_at": {
      "type": "integer",
      "description": "Unix seconds"
    },
    "client_name": {
      "type": "string"
    },
    "redirect_uris": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "grant_types": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "response_types": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "token_endpoint_auth_method": {
      "type": "string",
      "enum": [
        "none"
      ]
    },
    "scope": {
      "type": "string",
      "description": "The scopes this site offers",
      "space-separated.": null
    }
  }
}