{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/emile-wine/json-schema/emile-wine-register-request-schema.json",
  "title": "RegisterRequest",
  "description": "RFC 7591 § 2 — a subset of the client metadata fields. The\nspec allows many more (jwks, contacts, tos_uri, …) — we accept\nthem silently but only persist what we know how to handle, so\naware stores remain conformant.",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emile-wine-openapi.json#/components/schemas/RegisterRequest",
  "properties": {
    "client_name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "title": "Client Name"
    },
    "redirect_uris": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 10,
      "minItems": 1,
      "title": "Redirect Uris"
    },
    "grant_types": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Grant Types"
    },
    "response_types": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Response Types"
    },
    "scope": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scope"
    },
    "logo_uri": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2048
        },
        {
          "type": "null"
        }
      ],
      "title": "Logo Uri"
    }
  },
  "type": "object",
  "required": [
    "client_name",
    "redirect_uris"
  ]
}