{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://heartcortex.ai/schemas/1.0/component.schema.json",
  "title": "component",
  "type": "object",
  "required": [
    "id",
    "kind"
  ],
  "properties": {
    "id": {
      "type": "string",
      "x-heart-privacy": "public"
    },
    "kind": {
      "enum": [
        "service",
        "process",
        "sensor",
        "actuator",
        "board",
        "module",
        "library",
        "store",
        "network",
        "other"
      ],
      "x-heart-privacy": "public"
    },
    "status": {
      "$ref": "common.schema.json#/$defs/status",
      "x-heart-privacy": "public"
    },
    "name": {
      "type": "string",
      "x-heart-privacy": "internal"
    },
    "parent": {
      "type": "string",
      "x-heart-privacy": "internal"
    },
    "version": {
      "type": "string",
      "x-heart-privacy": "internal"
    },
    "vendor": {
      "type": "string",
      "x-heart-privacy": "internal"
    },
    "dependsOn": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-heart-privacy": "internal"
    },
    "ext": {
      "$ref": "common.schema.json#/$defs/ext",
      "x-heart-privacy": "private"
    }
  }
}
