{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://spec.soustack.org/stacks/techniques.schema.json",
  "title": "Techniques Stack",
  "type": "object",
  "properties": {
    "techniques": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": { "type": "string" },
          "name": { "type": "string" },
          "description": { "type": "string" },
          "metadata": { "type": "object", "additionalProperties": true }
        },
        "required": ["id", "name"],
        "additionalProperties": false,
        "patternProperties": {
          "^x-": { "$ref": "../defs/common.schema.json#/properties/extensionLaneValue" }
        }
      },
      "minItems": 1
    }
  },
  "required": ["techniques"],
  "additionalProperties": false
}
