{
  "$comment": "GENERATED FILE — DO NOT EDIT DIRECTLY. Source: packages/schemas/src. Regenerate with `npm run generate:json-schema --workspace=@spacecorp/schemas`.",
  "$id": "https://spacecorp.io/schemas/subsystem.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "schema_version": {
      "type": "number",
      "const": 1
    },
    "id": {
      "type": "string",
      "pattern": "^sys-[a-z0-9][a-z0-9-]*$"
    },
    "project": {
      "type": "string",
      "pattern": "^scp-[a-z0-9][a-z0-9-]*$"
    },
    "slug": {
      "type": "string",
      "pattern": "^[a-z0-9][a-z0-9-]*$"
    },
    "twin_system": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9_]*$"
    },
    "name": {
      "type": "string",
      "minLength": 1
    },
    "summary": {
      "type": "string",
      "minLength": 20
    },
    "order": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "fact_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^fact-[a-z0-9][a-z0-9-]*$"
      }
    }
  },
  "required": [
    "schema_version",
    "id",
    "project",
    "slug",
    "twin_system",
    "name",
    "summary",
    "order",
    "fact_ids"
  ],
  "additionalProperties": false
}
