{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.1/commands/project.envelope.schema.json",
  "$comment": "Written by hand from Part V and the member names of the reference vocabulary; tools/generate-schemas.mjs does not make it yet (schemas/commands/README.md).",
  "title": "project.envelope",
  "description": "Sets the envelope's air leakage and thermal bridges (Part II, 2.1), or clears them with null. A member the kind does not define is refused, not dropped (Part V, 1.4).",
  "type": "object",
  "properties": {
    "kind": {
      "const": "project.envelope"
    },
    "envelope": {
      "anyOf": [
        {
          "$ref": "../project/project.schema.json#/properties/project/properties/envelope"
        },
        {
          "type": "null"
        }
      ]
    },
    "expectedEnvelope": {
      "anyOf": [
        {
          "$ref": "../project/project.schema.json#/properties/project/properties/envelope"
        },
        {
          "type": "null"
        }
      ],
      "description": "The envelope as read, or null when there was none."
    }
  },
  "required": [
    "kind",
    "envelope"
  ],
  "additionalProperties": false
}
