SPB Git forge

spb/doc-api

Public
2commits 1branches 0releases
15.7 MBsize
maindefault branch
13 days agolast push
Python 88.3% TypeScript 7.6% Shell 4.1%
3.0 KB · 175 lines json
Raw Blame History
1{2  "$schema": "https://json-schema.org/draft/2020-12/schema",3  "$id": "https://atlas.local/schemas/model.schema.json",4  "title": "Atlas model record",5  "type": "object",6  "required": [7    "provider",8    "id",9    "status",10    "sources"11  ],12  "properties": {13    "provider": {14      "enum": [15        "openai",16        "anthropic",17        "xai",18        "gemini"19      ]20    },21    "id": {22      "type": "string"23    },24    "display_name": {25      "type": [26        "string",27        "null"28      ]29    },30    "aliases": {31      "type": "array",32      "items": {33        "type": [34          "string",35          "object"36        ]37      }38    },39    "snapshots": {40      "type": "array",41      "items": {42        "type": [43          "string",44          "object"45        ]46      }47    },48    "family": {49      "type": [50        "string",51        "null"52      ]53    },54    "status": {55      "type": "array",56      "items": {57        "$ref": "common.schema.json#/$defs/status"58      }59    },60    "release_date": {61      "type": [62        "string",63        "null"64      ]65    },66    "knowledge_cutoff": {67      "type": [68        "string",69        "object",70        "null"71      ]72    },73    "context_window": {74      "type": [75        "integer",76        "string",77        "null"78      ]79    },80    "max_output": {81      "type": [82        "integer",83        "string",84        "null"85      ]86    },87    "modalities": {88      "type": "object",89      "properties": {90        "input": {91          "type": "array",92          "items": {93            "type": "string"94          }95        },96        "output": {97          "type": "array",98          "items": {99            "type": "string"100          }101        }102      }103    },104    "capabilities": {105      "type": "object",106      "additionalProperties": {107        "$ref": "common.schema.json#/$defs/tristate"108      }109    },110    "endpoints": {111      "type": "array",112      "items": {113        "type": [114          "string",115          "object"116        ]117      },118      "description": "endpoint names/routes as strings, or {name, route, ...} objects"119    },120    "tools": {121      "type": "array",122      "items": {123        "type": [124          "string",125          "object"126        ]127      },128      "description": "tool type strings, or {type, category, beta_header, ...} objects"129    },130    "pricing": {131      "type": [132        "object",133        "string",134        "null"135      ]136    },137    "rate_limits": {},138    "beta_headers": {139      "type": "array",140      "items": {141        "type": "string"142      }143    },144    "restrictions": {},145    "availability": {146      "type": [147        "object",148        "null"149      ]150    },151    "deprecation": {152      "type": [153        "object",154        "array",155        "null"156      ]157    },158    "last_verified": {159      "type": [160        "string",161        "null"162      ]163    },164    "verification": {165      "$ref": "common.schema.json#/$defs/verification"166    },167    "sources": {168      "type": "array",169      "items": {170        "$ref": "common.schema.json#/$defs/source"171      }172    }173  }174}175