{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Point",
  "title": "Point",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the data point"
    },
    "name": {
      "type": "string",
      "description": "Human-readable name of the data point"
    },
    "description": {
      "type": "string",
      "description": "Description of what the data point measures or controls"
    },
    "type": {
      "type": "string",
      "enum": [
        "analog-input",
        "analog-output",
        "binary-input",
        "binary-output",
        "multistate-input",
        "multistate-output"
      ],
      "description": "BACnet point type classification"
    },
    "unit": {
      "type": "string",
      "description": "Engineering unit (e.g., degC, Pa, m3/h)"
    },
    "currentValue": {
      "$ref": "#/components/schemas/PointValue"
    },
    "writable": {
      "type": "boolean",
      "description": "Whether this point accepts write commands"
    },
    "equipmentId": {
      "type": "string",
      "description": "ID of the equipment this point belongs to"
    }
  }
}