{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Trunk",
  "title": "Trunk",
  "type": "object",
  "required": [
    "id",
    "name"
  ],
  "properties": {
    "id": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL0RJQUxfUExBTi8wNTlhMjczZS1iYmIwLTExZWMtODQyMi0wMjQyYWMxMjAwMDI",
      "description": "Unique identifier for the trunk."
    },
    "name": {
      "type": "string",
      "example": "trunkName",
      "description": "A unique name for the trunk."
    },
    "location": {
      "$ref": "#/components/schemas/Location",
      "description": "Location associated with the trunk."
    },
    "inUse": {
      "type": "boolean",
      "example": true,
      "description": "Trunk in use flag."
    },
    "trunkType": {
      "$ref": "#/components/schemas/TrunkType",
      "description": "Trunk Type associated with the trunk."
    },
    "isRestrictedToDedicatedInstance": {
      "type": "boolean",
      "example": true,
      "description": "Flag to indicate if the trunk is restricted to a dedicated instance."
    }
  }
}