changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "data": {
+ "properties": {
+ "offers": {
+ "items": {
+ "properties": {
+ "offer": {
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "limits": {
+ "properties": {
+ "contextTokens": {
+ "anyOf": [
+ {
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "maxOutputTokens": {
+ "anyOf": [
+ {
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "contextTokens",
+ "maxOutputTokens"
+ ],
+ "type": "object"
+ },
+ "model": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "slug",
+ "name"
+ ],
+ "type": "object"
+ },
+ "prices": {
+ "properties": {
+ "cachedInputPerMillionTokens": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "inputPerMillionTokens": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "outputPerMillionTokens": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "inputPerMillionTokens",
+ "outputPerMillionTokens",
+ "cachedInputPerMillionTokens"
+ ],
+ "type": "object"
+ },
+ "provenance": {
+ "properties": {
+ "checkedAt": {
+ "format": "date",
+ "type": "string"
+ },
+ "sourceUrl": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "sourceUrl",
+ "checkedAt"
+ ],
+ "type": "object"
+ },
+ "provider": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "slug",
+ "name"
+ ],
+ "type": "object"
+ },
+ "routeType": {
+ "enum": [
+ "official",
+ "cloud",
+ "gateway",
+ "unverified"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "model",
+ "provider",
+ "routeType",
+ "prices",
+ "limits",
+ "provenance"
+ ],
+ "type": "object"
+ },
+ "workloadCostUsd": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "offer",
+ "workloadCostUsd"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "offers"
+ ],
+ "type": "object"
+ },
+ "meta": {
+ "properties": {
+ "apiVersion": {
+ "const": "v1"
+ },
+ "currency": {
+ "const": "USD"
+ },
+ "tokenPriceUnit": {
+ "const": "per_million_tokens"
+ }
+ },
+ "required": [
+ "apiVersion",
+ "currency",
+ "tokenPriceUnit"
+ ],
+ "type": "object"
+ },
+ "workload": {
+ "properties": {
+ "inputTokens": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "outputTokens": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "inputTokens",
+ "outputTokens"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "meta",
+ "workload",
+ "data"
+ ],
+ "type": "object"
+}