{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-3scale/json-schema/red-hat-3scale-application-create-request-schema.json",
  "title": "ApplicationCreateRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-3scale-account-management-openapi.yml#/components/schemas/ApplicationCreateRequest",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "A personal Access Token."
    },
    "plan_id": {
      "type": "integer",
      "description": "ID of the application plan.",
      "x-data-threescale-name": "application_plan_ids"
    },
    "name": {
      "type": "string",
      "description": "Name of the application to be created."
    },
    "description": {
      "type": "string",
      "description": "Description of the application to be created."
    },
    "user_key": {
      "type": "string",
      "description": "User Key (API Key) of the application to be created.\n\nAllowed characters: A-Z a-z 0-9 - _ . or Base64 format without forward slash (/), no spaces and up to 256 characters.",
      "x-data-threescale-name": "user_keys"
    },
    "application_id": {
      "type": "string",
      "description": "App ID or Client ID (for OAuth and OpenID Connect authentication modes) of the application to be created.\n\nAllowed characters: A-Z a-z 0-9 ! \" # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \\ ] ^ _ ` { | } ~ , no spaces and between 5 and 255 characters."
    },
    "application_key": {
      "description": "App Key or Client Secret (for OAuth and OpenID Connect authentication modes) of the application to be created.\n\nAllowed characters: A-Z a-z 0-9 ! \" # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \\ ] ^ _ ` { | } ~ , no spaces and between 5 and 255 characters.",
      "type": "string"
    },
    "redirect_url": {
      "type": "string",
      "description": "Redirect URL for the OAuth request."
    },
    "first_traffic_at": {
      "type": "string",
      "description": "Timestamp of the first call made by the application."
    },
    "first_daily_traffic_at": {
      "type": "string",
      "description": "Timestamp of the first call on the last day when traffic was registered for the application ('Traffic On')."
    }
  },
  "required": [
    "access_token",
    "plan_id",
    "name"
  ],
  "additionalProperties": {
    "type": "string"
  }
}