{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "title": "update_o_auth_registration_command",
  "description": "Update OAuth registration command schema",
  "additionalProperties": false,
  "required": [
    "tenant_id",
    "environment_id",
    "client_id",
    "redirect_urls"
  ],
  "properties": {
    "tenant_id": {
      "type": "string",
      "minLength": 32,
      "maxLength": 36,
      "format": "uuid",
      "description": "A UUID."
    },
    "environment_id": {
      "type": "string",
      "minLength": 32,
      "maxLength": 36,
      "format": "uuid",
      "description": "A UUID."
    },
    "client_id": {
      "type": "string",
      "description": "Client name"
    },
    "redirect_urls": {
      "type": "array",
      "description": "Redirect URLs",
      "additionalItems": false,
      "items": {
        "type": "string"
      }
    }
  }
}