{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "System-Design.schema.json",
  "description": "The manifest.json file containing System information only. Resource definitions are separate files in their corresponding folders.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "name",
    "description"
  ],
  "properties": {
    "name": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]+$",
      "minLength": 1,
      "description": "Name of the System."
    },
    "description": {
      "type": "string",
      "minLength": 1,
      "description": "Business purpose, intended users and scope."
    },
    "properties": {
      "type": "object",
      "additionalProperties": true,
      "description": "Global properties freely defined by the author, including nested objects and arrays. AIScript reads them through property(path, fallback)."
    }
  },
  "$id": "System-Design.schema.json"
}
