{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/credo-ai/json-schema/credo-ai-model-vendor-links-response-schema.json",
  "title": "ModelVendorLinksResponse",
  "description": "A page of [ModelVendorLinkResource](#modelvendorlinkresource) results",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/credo-ai-models-api-openapi.yml#/components/schemas/ModelVendorLinksResponse",
  "properties": {
    "data": {
      "description": "Content with [ModelVendorLinkResource](#modelvendorlinkresource) objects",
      "items": {
        "$ref": "#/$defs/ModelVendorLinkResource"
      },
      "type": "array"
    },
    "meta": {
      "properties": {
        "after": {
          "description": "after cursor for the next page resources",
          "type": "string"
        },
        "before": {
          "description": "before cursor for the previous page resources",
          "type": "string"
        },
        "limit": {
          "description": "number of resources limit applied to this request",
          "type": "integer"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "data"
  ],
  "type": "object",
  "$defs": {
    "ModelVendorLinkResource": {
      "description": "",
      "properties": {
        "attributes": {
          "properties": {
            "inserted_at": {
              "description": "When the link was created",
              "type": "datetime"
            },
            "model_id": {
              "description": "The ID of the model",
              "type": "string"
            },
            "updated_at": {
              "description": "When the link was last updated",
              "type": "datetime"
            },
            "vendor_id": {
              "description": "The ID of the vendor",
              "type": "string"
            }
          },
          "type": "object"
        },
        "id": {
          "description": "The JSON-API resource ID",
          "type": "string"
        },
        "relationships": {
          "properties": {
            "model": {
              "properties": {
                "data": {
                  "properties": {
                    "id": {
                      "description": "Related model resource id",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of related model resource",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "vendor": {
              "properties": {
                "data": {
                  "properties": {
                    "id": {
                      "description": "Related vendor resource id",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of related vendor resource",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "type": {
          "description": "The JSON-API resource type",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}