{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/buckybuild-com/json-schema/buckybuild-com-bylaw-sections-schema.json",
  "title": "BylawSections",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/buckybuild-com-citations-api-openapi.yml#/components/schemas/BylawSections",
  "type": "object",
  "properties": {
    "sections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "sectionNumber": {
            "type": [
              "string",
              "null"
            ]
          },
          "sectionTitle": {
            "type": [
              "string",
              "null"
            ]
          },
          "sourceUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "contentMarkdown": {
            "type": "string"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "sectionNumber",
          "sectionTitle",
          "sourceUrl",
          "contentMarkdown",
          "truncated"
        ],
        "additionalProperties": false
      }
    },
    "missing": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "sectionId",
              "sectionNumber"
            ]
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "sections",
    "missing"
  ],
  "additionalProperties": false
}