{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chatinbox-net/json-schema/chatinbox-net-create-company-instance-request-vm-schema.json",
  "title": "CreateCompanyInstanceRequestVM",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chatinbox-net-companyinstancerequest-api-openapi.yml#/components/schemas/CreateCompanyInstanceRequestVM",
  "type": "object",
  "properties": {
    "companyID": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "companyCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "instanceType": {
      "$ref": "#/$defs/InstanceType"
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ]
    },
    "phoneNumber": {
      "type": [
        "string",
        "null"
      ]
    },
    "accountName": {
      "type": [
        "string",
        "null"
      ]
    },
    "password": {
      "type": [
        "string",
        "null"
      ]
    },
    "instanceProgressType": {
      "$ref": "#/$defs/InstanceProgressType"
    },
    "requestUserID": {
      "type": "integer",
      "format": "int32"
    },
    "id": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "InstanceProgressType": {
      "enum": [
        1,
        2,
        3,
        4,
        5
      ],
      "type": "integer",
      "format": "int32"
    },
    "InstanceType": {
      "enum": [
        1,
        2,
        3,
        4,
        5,
        6
      ],
      "type": "integer",
      "format": "int32"
    }
  }
}