{
  "type": "object",
  "required": [
    "schema_version",
    "id",
    "title",
    "version",
    "updated",
    "maintainer",
    "summary",
    "scope",
    "sources",
    "vent_lesson",
    "parts",
    "projects",
    "checks",
    "phases",
    "estimate_questions",
    "faqs",
    "history",
    "stages_intro",
    "stages"
  ],
  "properties": {
    "schema_version": {
      "type": "string"
    },
    "id": {
      "const": "remodel-plumbing"
    },
    "title": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "updated": {
      "type": "string"
    },
    "maintainer": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "scope": {
      "type": "string"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "title",
          "url",
          "scope",
          "checked"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "checked": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "vent_lesson": {
      "type": "object",
      "required": [
        "title",
        "intro",
        "steps",
        "examples"
      ],
      "properties": {
        "title": {
          "type": "string"
        },
        "intro": {
          "type": "string"
        },
        "steps": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "name",
              "text",
              "source_ids"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "text": {
                "type": "string"
              },
              "source_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          }
        },
        "examples": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    },
    "parts": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "floor",
          "what",
          "why",
          "look",
          "source_ids",
          "learn"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "floor": {
            "type": "string"
          },
          "what": {
            "type": "string"
          },
          "why": {
            "type": "string"
          },
          "look": {
            "type": "string"
          },
          "source_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "learn": {
            "type": "object",
            "required": [
              "label",
              "path"
            ],
            "properties": {
              "label": {
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      }
    },
    "projects": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "intro",
          "decision",
          "checks",
          "questions",
          "deep",
          "learn",
          "stage_impacts"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "intro": {
            "type": "string"
          },
          "decision": {
            "type": "string"
          },
          "checks": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "questions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "deep": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "title",
                "text",
                "sources"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                },
                "sources": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            }
          },
          "learn": {
            "type": "object",
            "required": [
              "label",
              "path"
            ],
            "properties": {
              "label": {
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "stage_impacts": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "stage_id",
                "text"
              ],
              "properties": {
                "stage_id": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false
      }
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "title",
          "why",
          "bring",
          "tech",
          "source_ids"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "why": {
            "type": "string"
          },
          "bring": {
            "type": "string"
          },
          "tech": {
            "type": "string"
          },
          "source_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      }
    },
    "phases": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "text",
          "sources"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      }
    },
    "estimate_questions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "faqs": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "question",
          "answer",
          "source_ids"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "question": {
            "type": "string"
          },
          "answer": {
            "type": "string"
          },
          "source_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      }
    },
    "history": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "date",
          "version",
          "change"
        ],
        "properties": {
          "date": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "change": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "stages_intro": {
      "type": "object",
      "required": [
        "title",
        "text",
        "scope",
        "overlap"
      ],
      "properties": {
        "title": {
          "type": "string"
        },
        "text": {
          "type": "string"
        },
        "scope": {
          "type": "string"
        },
        "overlap": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "stages": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "short",
          "timing",
          "definition",
          "remodel",
          "work",
          "example",
          "ready_title",
          "ready",
          "detail",
          "source_ids",
          "view_label",
          "related"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "short": {
            "type": "string"
          },
          "timing": {
            "type": "string"
          },
          "definition": {
            "type": "string"
          },
          "remodel": {
            "type": "string"
          },
          "work": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "name",
                "text"
              ],
              "properties": {
                "name": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "example": {
            "type": "object",
            "required": [
              "title",
              "text"
            ],
            "properties": {
              "title": {
                "type": "string"
              },
              "text": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "ready_title": {
            "type": "string"
          },
          "ready": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "detail": {
            "type": "string"
          },
          "source_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "view_label": {
            "type": "string"
          },
          "related": {
            "type": "object",
            "required": [
              "path",
              "label"
            ],
            "properties": {
              "path": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "minItems": 3,
      "maxItems": 3
    }
  },
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Mountain Man Plumbing remodel guide record"
}
