{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/brown/json-schema/brown-collection-list-schema.json",
  "title": "CollectionList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brown-collections-api-openapi.yml#/components/schemas/CollectionList",
  "type": "object",
  "required": [
    "collections"
  ],
  "properties": {
    "collections": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CollectionRef"
      }
    }
  },
  "$defs": {
    "CollectionRef": {
      "type": "object",
      "properties": {
        "pid": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "db_id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "json_uri": {
          "type": "string",
          "format": "uri",
          "description": "Collection API URL for this collection."
        },
        "uri": {
          "type": "string",
          "format": "uri",
          "description": "Human web view of this collection."
        },
        "thumbnail_url": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}