{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/postzen-dev/json-schema/postzen-dev-pinterest-boards-response-schema.json",
  "title": "PinterestBoardsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postzen-dev-accounts-api-openapi.yml#/components/schemas/PinterestBoardsResponse",
  "type": "object",
  "required": [
    "boards"
  ],
  "properties": {
    "boards": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PinterestBoard"
      }
    }
  },
  "$defs": {
    "PinterestBoard": {
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "privacy": {
          "type": "string",
          "enum": [
            "PUBLIC",
            "PROTECTED",
            "SECRET"
          ]
        },
        "pinCount": {
          "type": "integer",
          "minimum": 0
        }
      }
    }
  }
}