{
  "title": "Aggregate Feature",
  "description": "'minecraft:aggregate_feature` places a collection of features in an arbitary order. All features in the collection use the same input position. Features should not depend on each other, as there is no guarantee on the order the features will be placed.\n Succeeds if: At lease one feature is placed successfully.\n Fails if: All features fail to be placed.",
  "type": "object",
  "additionalProperties": false,
  "required": ["description", "features"],
  "properties": {
    "description": {
      "title": "Description",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED",
      "type": "object",
      "required": ["identifier"],
      "properties": {
        "identifier": {
          "title": "Identifier",
          "description": "The name of this feature in the form `namespace_name:feature_name`. `feature_name` must match the filename.",
          "type": "string",
          "$ref": "../../../../general/feature/identifier.json"
        }
      }
    },
    "features": {
      "title": "Features",
      "description": "Collection of features to be placed one by one. No guarantee of order. All features use the same input position.",
      "type": "array",
      "minItems": 1,
      "items": {
        "title": "Feature",
        "description": "UNDOCUMENTED",
        "$comment": "UNDOCUMENTED",
        "type": "string"
      }
    },
    "early_out": {
      "type": "string",
      "title": "Early Out",
      "description": "LIKELY TO BE CHANGED: Do not continue placing features once either the first success or first failure has occurred.",
      "enum": ["none", "first_failure", "first_success"]
    }
  }
}
