{
  "openapi": "3.1.1",
  "info": {
    "title": "EquipmentService1",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://{rootHost}/{servicesPrefix}",
      "variables": {
        "rootHost": {
          "default": "swimlane.replicon.com"
        },
        "servicesPrefix": {
          "default": "services"
        }
      }
    }
  ],
  "paths": {
    "/EquipmentService1.svc/PutEquipment": {
      "post": {
        "description": "Creates a new equipment item or updates an existing one.",
        "operationId": "PutEquipment",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipment"
                ],
                "properties": {
                  "equipment": {
                    "description": "Parameters defining the equipment item to create or update",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/EquipmentParameter1"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Reference to the created or updated equipment item, including its URI and display name",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/EquipmentReference1"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/Enable": {
      "post": {
        "description": "Enables an equipment item, making it available for selection and use.",
        "operationId": "Enable",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipmentUri"
                ],
                "properties": {
                  "equipmentUri": {
                    "description": "URI of the equipment item to enable",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Void"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/Disable": {
      "post": {
        "description": "Disables an equipment item, removing it from active selection.",
        "operationId": "Disable",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipmentUri"
                ],
                "properties": {
                  "equipmentUri": {
                    "description": "URI of the equipment item to disable",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Void"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/Delete": {
      "post": {
        "description": "Permanently deletes an equipment item.",
        "operationId": "Delete",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipmentUri"
                ],
                "properties": {
                  "equipmentUri": {
                    "description": "URI of the equipment item to delete",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Void"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/BulkDelete": {
      "post": {
        "description": "Deletes multiple equipment items in a single operation.",
        "operationId": "BulkDelete",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipmentUris"
                ],
                "properties": {
                  "equipmentUris": {
                    "description": "Array of URIs identifying the equipment items to delete",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/UriArray"
                      }
                    ]
                  },
                  "equipmentBulkDeleteOptionUri": {
                    "description": "Optional URI controlling behaviour when an item cannot be deleted",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Results indicating which items were deleted and which (if any) were disabled instead",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/EquipmentBulkDeleteResults1"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/GetEquipmentDetails": {
      "post": {
        "description": "Retrieves full configuration details for a single equipment item.",
        "operationId": "GetEquipmentDetails",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipmentUri"
                ],
                "properties": {
                  "equipmentUri": {
                    "description": "URI of the equipment item to retrieve",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Full details for the requested equipment item",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/EquipmentDetails1"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/GetPageOfEquipmentByTextSearch": {
      "post": {
        "description": "Returns a paginated list of equipment items matching a text search.",
        "operationId": "GetPageOfEquipmentByTextSearch",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "page",
                  "pageSize"
                ],
                "properties": {
                  "page": {
                    "description": "One-based page number to retrieve",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Int32"
                      }
                    ]
                  },
                  "pageSize": {
                    "description": "Maximum number of results to return per page",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Int32"
                      }
                    ]
                  },
                  "textSearch": {
                    "description": "Optional text filter applied to equipment names",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/EquipmentTextSearchParameter1"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Array of equipment search results for the requested page",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/EquipmentSearchResult1Array"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/BulkGetEquipmentDetails": {
      "post": {
        "description": "Retrieves full details for multiple equipment items in a single call.",
        "operationId": "BulkGetEquipmentDetails",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipmentUris"
                ],
                "properties": {
                  "equipmentUris": {
                    "description": "Array of equipment URIs to retrieve details for",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/UriArray"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Array of equipment details; items not found are omitted",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/EquipmentDetails1Array"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/AddEquipmentCategory": {
      "post": {
        "description": "Adds a new category to an equipment item.",
        "operationId": "AddEquipmentCategory",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipmentUri",
                  "category"
                ],
                "properties": {
                  "equipmentUri": {
                    "description": "URI of the equipment item to add the category to",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  },
                  "category": {
                    "description": "Properties of the new category",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/EquipmentCategoryParameter1"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "URI of the newly created equipment category",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Uri"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/UpdateEquipmentCategory": {
      "post": {
        "description": "Updates the properties of an existing equipment category.",
        "operationId": "UpdateEquipmentCategory",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "categoryUri",
                  "category"
                ],
                "properties": {
                  "categoryUri": {
                    "description": "URI of the category to update",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  },
                  "category": {
                    "description": "Updated category properties",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/EquipmentCategoryParameter1"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Void"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/EnableEquipmentCategory": {
      "post": {
        "description": "Enables an equipment category, making it visible and selectable.",
        "operationId": "EnableEquipmentCategory",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "categoryUri"
                ],
                "properties": {
                  "categoryUri": {
                    "description": "URI of the category to enable",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Void"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/DisableEquipmentCategory": {
      "post": {
        "description": "Disables an equipment category, hiding it from the UI without removing data.",
        "operationId": "DisableEquipmentCategory",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "categoryUri"
                ],
                "properties": {
                  "categoryUri": {
                    "description": "URI of the category to disable",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Void"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/DeleteEquipmentCategory": {
      "post": {
        "description": "Permanently deletes an equipment category and all its category-field pairings.",
        "operationId": "DeleteEquipmentCategory",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "categoryUri"
                ],
                "properties": {
                  "categoryUri": {
                    "description": "URI of the category to delete",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Void"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/EquipmentCategoryHasEntries": {
      "post": {
        "description": "Checks whether any equipment entries reference the given category.",
        "operationId": "EquipmentCategoryHasEntries",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "categoryUri"
                ],
                "properties": {
                  "categoryUri": {
                    "description": "URI of the category to check",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "true if the category has associated entries; otherwise false",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Boolean"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/PutEquipmentCategoryField": {
      "post": {
        "description": "Creates or updates a category-field pairing for an equipment item.",
        "operationId": "PutEquipmentCategoryField",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipmentUri",
                  "param"
                ],
                "properties": {
                  "equipmentUri": {
                    "description": "URI of the equipment item the pairing belongs to",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  },
                  "param": {
                    "description": "Pairing details including the field URI, optional category URI, and rate data",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/EquipmentCategoryFieldParameter1"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Full details of the created or updated category-field pairing",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/EquipmentCategoryFieldDetails1"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/EnableEquipmentCategoryField": {
      "post": {
        "description": "Enables a category-field pairing identified by its field and category.",
        "operationId": "EnableEquipmentCategoryField",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "fieldUri"
                ],
                "properties": {
                  "fieldUri": {
                    "description": "URI of the equipment field",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  },
                  "categoryUri": {
                    "description": "URI of the category, or null for an uncategorized pairing",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Void"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/DisableEquipmentCategoryField": {
      "post": {
        "description": "Disables a category-field pairing, hiding it from the UI without removing rate data.",
        "operationId": "DisableEquipmentCategoryField",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "fieldUri"
                ],
                "properties": {
                  "fieldUri": {
                    "description": "URI of the equipment field",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  },
                  "categoryUri": {
                    "description": "URI of the category, or null for an uncategorized pairing",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Void"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/DeleteEquipmentCategoryField": {
      "post": {
        "description": "Permanently deletes a category-field pairing and its associated rate data.",
        "operationId": "DeleteEquipmentCategoryField",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "fieldUri"
                ],
                "properties": {
                  "fieldUri": {
                    "description": "URI of the equipment field",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  },
                  "categoryUri": {
                    "description": "URI of the category, or null for an uncategorized pairing",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Void"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/BulkPutEquipmentCategoryFields": {
      "post": {
        "description": "Replaces all category-field pairings for an equipment item in a single operation.",
        "operationId": "BulkPutEquipmentCategoryFields",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipmentUri",
                  "categoryFields"
                ],
                "properties": {
                  "equipmentUri": {
                    "description": "URI of the equipment item whose pairings are being replaced",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  },
                  "categoryFields": {
                    "description": "Complete list of desired category-field pairings, including rate data",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/EquipmentCategoryFieldParameter1Array"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Results including the URIs of all created, updated, and deleted pairings",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/BulkPutEquipmentCategoryFieldResults1"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/CreateEquipmentCategoryFieldsOrApplyModifications": {
      "post": {
        "description": "Applies partial modifications to the category-field pairings of an equipment item.",
        "operationId": "CreateEquipmentCategoryFieldsOrApplyModifications",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipmentUri",
                  "param"
                ],
                "properties": {
                  "equipmentUri": {
                    "description": "URI of the equipment item whose pairings are being modified",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  },
                  "param": {
                    "description": "Collections of pairings to create or update and pairings to remove",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/EquipmentCategoryFieldModificationsParameter1"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Results including successfully applied changes and any validation errors for invalid modifications",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/EquipmentCategoryFieldModificationsResult1"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/GetEquipmentCategoryFields": {
      "post": {
        "description": "Retrieves all category-field pairings for an equipment item, including rate schedule data.",
        "operationId": "GetEquipmentCategoryFields",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipmentUri"
                ],
                "properties": {
                  "equipmentUri": {
                    "description": "URI of the equipment item",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Array of all active and inactive category-field pairings with their rate data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/EquipmentCategoryFieldDetails1Array"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/AddEquipmentField": {
      "post": {
        "description": "Adds a new field to an equipment item.",
        "operationId": "AddEquipmentField",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipmentUri",
                  "field"
                ],
                "properties": {
                  "equipmentUri": {
                    "description": "URI of the equipment item to add the field to",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  },
                  "field": {
                    "description": "Properties of the new field",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/EquipmentFieldParameter1"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "URI of the newly created equipment field",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Uri"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/UpdateEquipmentField": {
      "post": {
        "description": "Updates the properties of an existing equipment field.",
        "operationId": "UpdateEquipmentField",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "fieldUri",
                  "field"
                ],
                "properties": {
                  "fieldUri": {
                    "description": "URI of the field to update",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  },
                  "field": {
                    "description": "Updated field properties",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/EquipmentFieldParameter1"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Void"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/RemoveEquipmentField": {
      "post": {
        "description": "Permanently removes a field from an equipment item.",
        "operationId": "RemoveEquipmentField",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "fieldUri"
                ],
                "properties": {
                  "fieldUri": {
                    "description": "URI of the field to remove",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Void"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/EquipmentFieldHasEntries": {
      "post": {
        "description": "Checks whether any equipment entries reference this field.",
        "operationId": "EquipmentFieldHasEntries",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "fieldUri"
                ],
                "properties": {
                  "fieldUri": {
                    "description": "URI of the field to check",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "true if the field has associated entries; otherwise false",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Boolean"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/EnableEquipmentField": {
      "post": {
        "description": "Enables an equipment field, making it available for use in entries.",
        "operationId": "EnableEquipmentField",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "fieldUri"
                ],
                "properties": {
                  "fieldUri": {
                    "description": "URI of the field to enable",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Void"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/DisableEquipmentField": {
      "post": {
        "description": "Disables an equipment field, hiding it from the UI without removing data.",
        "operationId": "DisableEquipmentField",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "fieldUri"
                ],
                "properties": {
                  "fieldUri": {
                    "description": "URI of the field to disable",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/Void"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/BulkPutEquipmentFields": {
      "post": {
        "description": "Replaces all fields on an equipment item in a single operation.",
        "operationId": "BulkPutEquipmentFields",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipmentUri",
                  "fields"
                ],
                "properties": {
                  "equipmentUri": {
                    "description": "URI of the equipment item whose fields are being replaced",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  },
                  "fields": {
                    "description": "Complete list of desired fields and their properties",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/EquipmentFieldParameter1Array"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Results including the URIs of all created, updated, and deleted fields",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/BulkPutEquipmentFieldResults1"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/EquipmentService1.svc/GetEquipmentFields": {
      "post": {
        "description": "Returns all fields configured for an equipment item.",
        "operationId": "GetEquipmentFields",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "equipmentUri"
                ],
                "properties": {
                  "equipmentUri": {
                    "description": "URI of the equipment item",
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Uri"
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Array of all fields configured for the equipment item",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "d"
                  ],
                  "properties": {
                    "d": {
                      "$ref": "#/components/schemas/EquipmentFieldDetails1Array"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "EquipmentParameter1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "target": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EquipmentTargetParameter1"
              }
            ]
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "isEnabled": {
            "type": "boolean",
            "nullable": true
          },
          "categoryName": {
            "type": "string",
            "nullable": true
          },
          "categories": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EquipmentCategoryParameter1"
            }
          },
          "fields": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EquipmentFieldParameter1"
            }
          }
        }
      },
      "EquipmentTargetParameter1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EquipmentCategoryParameter1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isEnabled": {
            "type": "boolean",
            "nullable": true
          },
          "metadata": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/KeyValue1"
            }
          }
        }
      },
      "KeyValue1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "keyUri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "value": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SettingsValue2"
              }
            ]
          }
        }
      },
      "SettingsValue2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "slug": {
            "type": "string",
            "nullable": true
          },
          "bool": {
            "type": "boolean",
            "nullable": true
          },
          "date": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Date1"
              }
            ]
          },
          "number": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          },
          "time": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Time1"
              }
            ]
          },
          "calendarDayDurationValue": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CalendarDayDuration1"
              }
            ]
          },
          "workdayDurationValue": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/WorkdayDurationParameter1"
              }
            ]
          },
          "dateRange": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/DateRangeParameter1"
              }
            ]
          },
          "collection": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/SettingsValue2"
            }
          }
        }
      },
      "Date1": {
        "type": "object",
        "description": "Represents a calendar date without time information.",
        "additionalProperties": false,
        "properties": {
          "year": {
            "type": "integer",
            "description": "The year component of the date.",
            "format": "int32"
          },
          "month": {
            "type": "integer",
            "description": "The month component of the date (1-12).",
            "format": "int32"
          },
          "day": {
            "type": "integer",
            "description": "The day component of the date (1-31).",
            "format": "int32"
          }
        }
      },
      "Time1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "hour": {
            "type": "integer",
            "format": "int32"
          },
          "minute": {
            "type": "integer",
            "format": "int32"
          },
          "second": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CalendarDayDuration1": {
        "type": "object",
        "description": "Note that only positive durations are considered valid for this type.",
        "additionalProperties": false,
        "properties": {
          "hours": {
            "type": "integer",
            "format": "int32"
          },
          "minutes": {
            "type": "integer",
            "format": "int32"
          },
          "seconds": {
            "type": "integer",
            "format": "int32"
          },
          "milliseconds": {
            "type": "integer",
            "format": "int32"
          },
          "microseconds": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "WorkdayDurationParameter1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "workdays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hours": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "minutes": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "decimalWorkdays": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "DateRangeParameter1": {
        "type": "object",
        "description": "Represents a period of time specified by either explicit dates or a predefined relative range.",
        "additionalProperties": false,
        "properties": {
          "startDate": {
            "description": "The start of this date range. If null, represents the earliest possible date.",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Date1"
              }
            ]
          },
          "endDate": {
            "description": "The end of this date range. If null, represents the latest possible date.",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Date1"
              }
            ]
          },
          "relativeDateRangeUri": {
            "type": "string",
            "description": "A predefined date range relative to the current date.",
            "format": "uri",
            "nullable": true
          },
          "relativeDateRangeAsOfDate": {
            "description": "Reference date for calculating the relative date range.",
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Date1"
              }
            ]
          }
        }
      },
      "EquipmentFieldParameter1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isEnabled": {
            "type": "boolean",
            "nullable": true
          },
          "metadata": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/KeyValue1"
            }
          }
        }
      },
      "EquipmentReference1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "displayText": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Uri": {
        "type": "string",
        "format": "uri"
      },
      "Void": {
        "type": "null"
      },
      "UriArray": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "uri"
        }
      },
      "EquipmentBulkDeleteResults1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "deletedUris": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string",
              "format": "uri"
            }
          },
          "disabledUris": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string",
              "format": "uri"
            }
          },
          "errors": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EquipmentDeleteError1"
            }
          }
        }
      },
      "EquipmentDeleteError1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "equipment": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EquipmentReference1"
              }
            ]
          },
          "displayText": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EquipmentDetails1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "displayText": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "isEnabled": {
            "type": "boolean"
          },
          "categoryName": {
            "type": "string",
            "nullable": true
          },
          "categories": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EquipmentCategoryDetails1"
            }
          },
          "fields": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EquipmentFieldDetails1"
            }
          }
        }
      },
      "EquipmentCategoryDetails1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isEnabled": {
            "type": "boolean"
          },
          "metadata": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/KeyValue1"
            }
          }
        }
      },
      "EquipmentFieldDetails1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isEnabled": {
            "type": "boolean"
          },
          "metadata": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/KeyValue1"
            }
          }
        }
      },
      "Int32": {
        "type": "integer",
        "format": "int32"
      },
      "EquipmentTextSearchParameter1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "searchText": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EquipmentSearchResult1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "equipment": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EquipmentReference1"
              }
            ]
          },
          "isEnabled": {
            "type": "boolean"
          }
        }
      },
      "EquipmentSearchResult1Array": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/EquipmentSearchResult1"
        }
      },
      "EquipmentDetails1Array": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/EquipmentDetails1"
        }
      },
      "Boolean": {
        "type": "boolean"
      },
      "EquipmentCategoryFieldParameter1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "categoryUri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "fieldUri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "isEnabled": {
            "type": "boolean",
            "nullable": true
          },
          "rates": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EquipmentCategoryFieldRateParameter1"
            }
          }
        }
      },
      "EquipmentCategoryFieldRateParameter1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "effectiveDate": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Date1"
              }
            ]
          },
          "rateMultiple": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "costRate": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/MoneyParameter1"
              }
            ]
          }
        }
      },
      "MoneyParameter1": {
        "type": "object",
        "description": "Represents a monetary value with its associated currency.",
        "additionalProperties": false,
        "required": [
          "amount",
          "currencyUri"
        ],
        "properties": {
          "amount": {
            "type": "number",
            "description": "The numerical value of the monetary amount.",
            "format": "decimal"
          },
          "currencyUri": {
            "type": "string",
            "description": "URI reference to the currency for this monetary amount.",
            "format": "uri",
            "nullable": true
          }
        }
      },
      "EquipmentCategoryFieldDetails1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "categoryUri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "fieldUri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "isEnabled": {
            "type": "boolean"
          },
          "rates": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EquipmentCategoryFieldRateDetails1"
            }
          }
        }
      },
      "EquipmentCategoryFieldRateDetails1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "effectiveDate": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Date1"
              }
            ]
          },
          "rateMultiple": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "costRate": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/MoneyDetails1"
              }
            ]
          }
        }
      },
      "MoneyDetails1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": "number",
            "format": "decimal"
          },
          "currency": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CurrencyReference1"
              }
            ]
          }
        }
      },
      "CurrencyReference1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "symbol": {
            "type": "string",
            "nullable": true
          },
          "displayText": {
            "type": "string",
            "nullable": true
          },
          "isoCode": {
            "type": "string",
            "nullable": true
          },
          "isoName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EquipmentCategoryFieldParameter1Array": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/EquipmentCategoryFieldParameter1"
        }
      },
      "BulkPutEquipmentCategoryFieldResults1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "categoryFields": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EquipmentCategoryFieldReference1"
            }
          },
          "errors": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/BulkPutEquipmentCategoryFieldError1"
            }
          }
        }
      },
      "EquipmentCategoryFieldReference1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "fieldUri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "categoryUri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          }
        }
      },
      "BulkPutEquipmentCategoryFieldError1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "categoryField": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EquipmentCategoryFieldParameter1"
              }
            ]
          },
          "displayText": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EquipmentCategoryFieldModificationsParameter1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "modificationsToApply": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EquipmentCategoryFieldParameter1"
            }
          },
          "categoryFieldsToRemove": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EquipmentCategoryFieldReference1"
            }
          }
        }
      },
      "EquipmentCategoryFieldModificationsResult1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "modified": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EquipmentCategoryFieldReference1"
            }
          },
          "errors": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/BulkPutEquipmentCategoryFieldError1"
            }
          }
        }
      },
      "EquipmentCategoryFieldDetails1Array": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/EquipmentCategoryFieldDetails1"
        }
      },
      "EquipmentFieldParameter1Array": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/EquipmentFieldParameter1"
        }
      },
      "BulkPutEquipmentFieldResults1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "fields": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/EquipmentFieldReference1"
            }
          },
          "errors": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/BulkPutEquipmentFieldError1"
            }
          }
        }
      },
      "EquipmentFieldReference1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "uri": {
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "BulkPutEquipmentFieldError1": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "field": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EquipmentFieldParameter1"
              }
            ]
          },
          "displayText": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "EquipmentFieldDetails1Array": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/EquipmentFieldDetails1"
        }
      }
    },
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "bearer": []
    }
  ]
}