{
  "$id": "https://raw.githubusercontent.com/camptocamp/github-app-geo-project/github_app_geo_project/project-schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "withTitle": {
      "allOf": [
        {
          "properties": {
            "t1": {
              "type": "boolean"
            }
          },
          "title": "t1"
        },
        {
          "anyOf": [
            {
              "properties": {
                "t2": {
                  "type": "boolean"
                }
              },
              "title": "t2"
            },
            {
              "allOf": [
                {
                  "properties": {
                    "t3": {
                      "type": "boolean"
                    }
                  },
                  "title": "t3"
                },
                {
                  "anyOf": [
                    {
                      "properties": {
                        "t4": {
                          "type": "boolean"
                        }
                      },
                      "title": "t4"
                    },
                    {
                      "properties": {
                        "t5": {
                          "type": "boolean"
                        }
                      },
                      "title": "t5"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "title": "withTitle",
      "type": "object"
    },
    "withoutTitle": {
      "allOf": [
        {
          "properties": {
            "p1": {
              "type": "boolean"
            }
          }
        },
        {
          "anyOf": [
            {
              "properties": {
                "p2": {
                  "type": "boolean"
                }
              }
            },
            {
              "allOf": [
                {
                  "properties": {
                    "p3": {
                      "type": "boolean"
                    }
                  }
                },
                {
                  "anyOf": [
                    {
                      "properties": {
                        "p4": {
                          "type": "boolean"
                        }
                      }
                    },
                    {
                      "properties": {
                        "p5": {
                          "type": "boolean"
                        }
                      }
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "type": "object"
    }
  },
  "title": "Test combining allOf and anyOf",
  "type": "object"
}