{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/specky-space/json-schema/specky-space-engineering-rule-update-request-schema.json",
  "title": "EngineeringRuleUpdateRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/specky-space-api-openapi.json#/components/schemas/EngineeringRuleUpdateRequest",
  "type": "object",
  "properties": {
    "statement": {
      "type": "string",
      "maxLength": 1000
    },
    "level": {
      "type": "string",
      "enum": [
        "mandatory",
        "recommended",
        "optional"
      ]
    },
    "collection": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 120
    },
    "tags": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string"
      }
    },
    "languages": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string"
      }
    },
    "frameworks": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string"
      }
    },
    "keywords": {
      "type": "array",
      "maxItems": 30,
      "items": {
        "type": "string"
      }
    },
    "must_include_files": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string"
      }
    },
    "must_not_include_files": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string"
      }
    },
    "provenance": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 300
    },
    "enabled": {
      "type": "boolean"
    }
  }
}