{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ModelRegistryItem",
  "title": "ModelRegistryItem",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "author": {
      "type": "string"
    },
    "contextLength": {
      "type": "number",
      "format": "double"
    },
    "endpoints": {
      "items": {
        "$ref": "#/components/schemas/ModelEndpoint"
      },
      "type": "array"
    },
    "maxOutput": {
      "type": "number",
      "format": "double"
    },
    "trainingDate": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "inputModalities": {
      "items": {
        "$ref": "#/components/schemas/InputModality"
      },
      "type": "array"
    },
    "outputModalities": {
      "items": {
        "$ref": "#/components/schemas/OutputModality"
      },
      "type": "array"
    },
    "supportedParameters": {
      "items": {
        "$ref": "#/components/schemas/StandardParameter"
      },
      "type": "array"
    },
    "pinnedVersionOfModel": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "author",
    "contextLength",
    "endpoints",
    "inputModalities",
    "outputModalities",
    "supportedParameters"
  ],
  "type": "object",
  "additionalProperties": false
}