{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cephable/json-schema/cephable-gen-aimodel-reference-model-schema.json",
  "title": "GenAIModelReferenceModel",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cephable-openapi.yml#/components/schemas/GenAIModelReferenceModel",
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "fileUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "isDirectory": {
      "type": "boolean"
    },
    "fileFormat": {
      "type": [
        "string",
        "null"
      ]
    },
    "inferencePlatform": {
      "type": [
        "string",
        "null"
      ]
    },
    "supportsVisionInput": {
      "type": "boolean"
    },
    "visionProjectorFileUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "mtpDraftFileUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "supportsAudioInput": {
      "type": "boolean"
    },
    "supportsTextInput": {
      "type": "boolean"
    },
    "supportsTools": {
      "type": "boolean"
    },
    "supportedLanguages": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "supportedComputeDevices": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "supportedInferenceProviders": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "modelFamily": {
      "type": [
        "string",
        "null"
      ]
    },
    "sizeCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "fileSizeMb": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "minRamMb": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "requiresGpu": {
      "type": "boolean"
    },
    "requiresNpu": {
      "type": "boolean"
    },
    "minVramMb": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "parameterCountBillions": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "isDisabled": {
      "type": "boolean"
    },
    "minClientVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "maxClientVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "isAvailableForDevice": {
      "type": "boolean"
    },
    "maxContextTokens": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "estimatedKBContextCostPerToken": {
      "type": "integer",
      "format": "int32"
    },
    "defaultTopP": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "defaultTopK": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "isStudentAccess": {
      "type": "boolean"
    },
    "isEmployeeAccess": {
      "type": "boolean"
    },
    "isPlusAccess": {
      "type": "boolean"
    },
    "isDeveloperAccess": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}