{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alto-vebra/json-schema/alto-vebra-alto-inventory-api-models-responses-inventory-detail-item-schema.json",
  "title": "Alto.Inventory.Api.Models.Responses.InventoryDetailItem",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alto-vebra-inventory-api-openapi.yml#/components/schemas/Alto.Inventory.Api.Models.Responses.InventoryDetailItem",
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ]
    },
    "branchId": {
      "type": [
        "string",
        "null"
      ]
    },
    "category": {
      "type": [
        "string",
        "null"
      ]
    },
    "recordType": {
      "type": [
        "string",
        "null"
      ]
    },
    "address": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Inventory.Api.Models.Responses.Address"
        }
      ]
    },
    "priceQualifier": {
      "type": [
        "string",
        "null"
      ]
    },
    "currency": {
      "type": [
        "string",
        "null"
      ]
    },
    "yearBuilt": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "newBuild": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "floorAreaInSquareFeet": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "landAreaInAcres": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "price": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "bedrooms": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "receptions": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "bathrooms": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "propertySubTypeId": {
      "type": "integer",
      "format": "int32"
    },
    "propertyType": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": [
        "string",
        "null"
      ]
    },
    "inventoryStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Services.SDK.InventoryStatus"
        }
      ]
    },
    "archived": {
      "type": "boolean"
    },
    "isAtActiveStatus": {
      "type": "boolean"
    },
    "tenureId": {
      "type": "integer",
      "format": "int32"
    },
    "tenure": {
      "type": [
        "string",
        "null"
      ]
    },
    "rentalFrequency": {
      "type": [
        "string",
        "null"
      ]
    },
    "tenancyType": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Services.SDK.Enums.Property.Rental.PropertyContractType"
        }
      ]
    },
    "owners": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/Alto.Inventory.Api.Models.Responses.Owner"
      }
    },
    "taxBand": {
      "type": [
        "string",
        "null"
      ]
    },
    "taxBandExemptReason": {
      "type": [
        "string",
        "null"
      ]
    },
    "serviceCharge": {
      "type": [
        "string",
        "null"
      ]
    },
    "groundRent": {
      "type": [
        "string",
        "null"
      ]
    },
    "localAuthority": {
      "type": [
        "string",
        "null"
      ]
    },
    "leaseRemainingYears": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "leaseTerm": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "leaseEndDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "groundRentReviewPeriod": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "groundRentPercentageIncrease": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "sharedOwnership": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "sharedOwnershipPercentageShare": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "sharedOwnershipRent": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "sharedOwnershipRentFrequencyId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "leaseNotes": {
      "type": [
        "string",
        "null"
      ]
    },
    "privateViewingNotes": {
      "type": [
        "string",
        "null"
      ]
    },
    "displayAddress": {
      "type": [
        "string",
        "null"
      ]
    },
    "hasAsbestos": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "rentalDateAvailable": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "groundRentFixedForTerm": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "groundRentNotes": {
      "type": [
        "string",
        "null"
      ]
    },
    "serviceChargeNotes": {
      "type": [
        "string",
        "null"
      ]
    },
    "negotiator": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Inventory.Api.Models.SecurityUser"
        }
      ]
    },
    "negotiatorName": {
      "type": [
        "string",
        "null"
      ],
      "deprecated": true
    },
    "instructionDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "managementType": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Inventory.Api.Enums.RentalManagementType"
        }
      ]
    },
    "maintenanceType": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Inventory.Api.Enums.MaintenanceType"
        }
      ]
    },
    "accessibilityRequirements": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Internal.Nts.AccessibilityRequirements"
        }
      ]
    },
    "broadband": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Internal.Nts.Broadband"
        }
      ]
    },
    "buildingSafety": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Internal.Nts.BuildingSafety"
        }
      ]
    },
    "construction": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Internal.Nts.Construction"
        }
      ]
    },
    "coastalErosion": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "electricity": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Internal.Nts.Electricity"
        }
      ]
    },
    "floodingRisks": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Internal.Nts.FloodingRisks"
        }
      ]
    },
    "heating": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Internal.Nts.Heating"
        }
      ]
    },
    "knownPlanningConsiderations": {
      "type": [
        "string",
        "null"
      ]
    },
    "miningRisks": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Internal.Nts.MiningRisks"
        }
      ]
    },
    "mobileCoverage": {
      "type": [
        "string",
        "null"
      ]
    },
    "parking": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Internal.Nts.Parking"
        }
      ]
    },
    "restrictions": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Internal.Nts.Restrictions"
        }
      ]
    },
    "rightsAndEasements": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Internal.Nts.RightsAndEasements"
        }
      ]
    },
    "sewerage": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Internal.Nts.Sewerage"
        }
      ]
    },
    "water": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Internal.Nts.Water"
        }
      ]
    },
    "epc": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Inventory.Api.Models.Responses.Epc"
        }
      ],
      "description": "Energy Performance Certificate"
    },
    "uprn": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "modifiedDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "propertyManager": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Inventory.Api.Models.SecurityUser"
        }
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Alto.Api.Material.Hateoas.Link": {
      "type": "object",
      "properties": {
        "href": {
          "type": [
            "string",
            "null"
          ]
        },
        "rel": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.Accessibility": {
      "enum": [
        "LateralLiving",
        "StepFreeAccess",
        "WetRoom",
        "WheelchairAccessible",
        "DisabledFeatures",
        "LevelAccess",
        "RampedAccess",
        "LiftAccess",
        "StairLift",
        "WideDoorways",
        "LevelAccessShower",
        "VariableHeightKitchenSurfaces"
      ],
      "type": "string"
    },
    "Alto.Internal.Nts.AccessibilityRequirements": {
      "type": "object",
      "properties": {
        "accessibility": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Alto.Internal.Nts.Accessibility"
          }
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.Broadband": {
      "type": "object",
      "properties": {
        "supply": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Alto.Internal.Nts.BroadbandSupply"
          }
        },
        "speed": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.BroadbandSupply": {
      "enum": [
        "Adsl",
        "Cable",
        "FixedWireless",
        "Fttc",
        "Fttp",
        "Mobile",
        "None",
        "Other",
        "Satellite"
      ],
      "type": "string"
    },
    "Alto.Internal.Nts.BuildingSafety": {
      "type": "object",
      "properties": {
        "issue": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.Construction": {
      "type": "object",
      "properties": {
        "material": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.Electricity": {
      "type": "object",
      "properties": {
        "supply": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Alto.Internal.Nts.ElectricitySupply"
          }
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.ElectricitySupply": {
      "enum": [
        "MainsSupply",
        "PrivateSupply",
        "SolarPvPanels",
        "WindTurbine",
        "Generator",
        "Other"
      ],
      "type": "string"
    },
    "Alto.Internal.Nts.FloodingRisks": {
      "type": "object",
      "properties": {
        "sourcesOfFlooding": {
          "allOf": [
            {
              "$ref": "#/$defs/Alto.Internal.Nts.FloodingSources"
            }
          ]
        },
        "floodedWithinLast5Years": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "floodDefensesPresent": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.FloodingSources": {
      "type": "object",
      "properties": {
        "source": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Alto.Internal.Nts.SourceOfFlooding"
          }
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.Heating": {
      "type": "object",
      "properties": {
        "source": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Alto.Internal.Nts.HeatingSource"
          }
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.HeatingSource": {
      "enum": [
        "BiomassBoiler",
        "Communal",
        "ElectricMains",
        "ElectricRoomHeaters",
        "GasMains",
        "HeatPumpAirSource",
        "HeatPumpGroundSource",
        "Lpg",
        "NightStorageHeaters",
        "Oil",
        "Other",
        "SolarPanels",
        "SolarPhotovoltaicThermal",
        "SolarThermal",
        "UnderFloorHeating",
        "WoodBurner",
        "OpenFire"
      ],
      "type": "string"
    },
    "Alto.Internal.Nts.MiningRisks": {
      "type": "object",
      "properties": {
        "coalfields": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "otherMiningActivities": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.Parking": {
      "type": "object",
      "properties": {
        "parkingType": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Alto.Internal.Nts.ParkingType"
          }
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.ParkingType": {
      "enum": [
        "DoubleGarage",
        "OffStreetParking",
        "ResidentsParking",
        "SingleGarage",
        "Underground",
        "CommunalCarParkAllocatedSpace",
        "CommunalCarParkNoAllocatedSpace",
        "DisabledParkingAvailable",
        "DisabledParkingNotAvailable",
        "DrivewayPrivate",
        "DrivewayShared",
        "EvChargingPrivate",
        "EvChargingShared",
        "Garage",
        "GarageBloc",
        "GarageCarport",
        "GarageDetached",
        "GarageIntegral",
        "GatedParking",
        "NoParkingAvailable",
        "RearOfProperty",
        "StreetParkingPermitNotRequired",
        "StreetParkingPermitRequired",
        "Undercroft",
        "UndergroundParkingAllocatedSpace",
        "UndergroundParkingNoAllocatedSpace",
        "Other"
      ],
      "type": "string"
    },
    "Alto.Internal.Nts.Restrictions": {
      "type": "object",
      "properties": {
        "conservationArea": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "leaseRestrictions": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "listedBuilding": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "permittedDevelopment": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "realBurdens": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "holidayHomeRental": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "restrictiveCovenant": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "businessFromProperty": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "propertySubletting": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "treePreservationOrder": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "other": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.RightsAndEasements": {
      "type": "object",
      "properties": {
        "rightOfWayPublic": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "rightOfWayPrivate": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "registeredEasementsHmlr": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "servitudes": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "sharedDriveway": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "loftAccess": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "drainAccess": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "other": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.Sewerage": {
      "type": "object",
      "properties": {
        "supply": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Alto.Internal.Nts.SewerageSupply"
          }
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.SewerageSupply": {
      "enum": [
        "Mains",
        "SepticTank",
        "DomesticSmallSewageTreatmentPlants",
        "Cesspit",
        "Cesspool",
        "Other"
      ],
      "type": "string"
    },
    "Alto.Internal.Nts.SourceOfFlooding": {
      "enum": [
        "River",
        "Sea",
        "Groundwater",
        "Lake",
        "Reservoir",
        "Other"
      ],
      "type": "string"
    },
    "Alto.Internal.Nts.Water": {
      "type": "object",
      "properties": {
        "supply": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Alto.Internal.Nts.WaterSupply"
          }
        }
      },
      "additionalProperties": false
    },
    "Alto.Internal.Nts.WaterSupply": {
      "enum": [
        "Mains",
        "PrivateWell",
        "PrivateSpring",
        "PrivateBorehole",
        "PublicWell",
        "PublicSpring",
        "PublicBorehole",
        "Other"
      ],
      "type": "string"
    },
    "Alto.Inventory.Api.Enums.MaintenanceType": {
      "enum": [
        "Unspecified",
        "MaintainedByLandlord",
        "MaintainedByUs"
      ],
      "type": "string"
    },
    "Alto.Inventory.Api.Enums.RentalManagementType": {
      "enum": [
        "Unspecified",
        "NotManaged",
        "PartManaged",
        "Managed",
        "FullyManaged",
        "RentCollectionService",
        "LetOnly"
      ],
      "type": "string"
    },
    "Alto.Inventory.Api.Models.Responses.Address": {
      "type": "object",
      "properties": {
        "subDwelling": {
          "type": [
            "string",
            "null"
          ]
        },
        "nameNo": {
          "type": [
            "string",
            "null"
          ]
        },
        "street": {
          "type": [
            "string",
            "null"
          ]
        },
        "locality": {
          "type": [
            "string",
            "null"
          ]
        },
        "town": {
          "type": [
            "string",
            "null"
          ]
        },
        "county": {
          "type": [
            "string",
            "null"
          ]
        },
        "postcode": {
          "type": [
            "string",
            "null"
          ]
        },
        "countryCode": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Alto.Inventory.Api.Models.Responses.EmailAddress": {
      "type": "object",
      "properties": {
        "preferenceOrder": {
          "type": "integer",
          "format": "int32"
        },
        "address": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Alto.Inventory.Api.Models.Responses.Epc": {
      "type": "object",
      "properties": {
        "energyEfficiencyRatingCurrent": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Current energy efficiency rating",
          "format": "int32"
        },
        "energyEfficiencyRatingPotential": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Potential energy efficiency rating",
          "format": "int32"
        },
        "exempt": {
          "type": "boolean",
          "description": "Whether listing has an EPC Exemption"
        },
        "exemptionReason": {
          "type": [
            "string",
            "null"
          ],
          "description": "Reason for an EPC Exemption"
        }
      },
      "additionalProperties": false,
      "description": "Energy Performance Certificate"
    },
    "Alto.Inventory.Api.Models.Responses.Name": {
      "type": "object",
      "properties": {
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "forename": {
          "type": [
            "string",
            "null"
          ]
        },
        "surname": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Alto.Inventory.Api.Models.Responses.Owner": {
      "type": "object",
      "properties": {
        "ownerId": {
          "type": [
            "string",
            "null"
          ]
        },
        "contactId": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "allOf": [
            {
              "$ref": "#/$defs/Alto.Inventory.Api.Models.Responses.Name"
            }
          ]
        },
        "phoneNumbers": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Alto.Inventory.Api.Models.Responses.Phone"
          }
        },
        "emailAddresses": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Alto.Inventory.Api.Models.Responses.EmailAddress"
          }
        }
      },
      "additionalProperties": false
    },
    "Alto.Inventory.Api.Models.Responses.Phone": {
      "type": "object",
      "properties": {
        "preferenceOrder": {
          "type": "integer",
          "format": "int32"
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "number": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Alto.Inventory.Api.Models.SecurityUser": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "links": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Alto.Api.Material.Hateoas.Link"
          }
        }
      },
      "additionalProperties": false
    },
    "Alto.Services.SDK.Enums.Property.Rental.PropertyContractType": {
      "enum": [
        "Unspecified",
        "AssuredShortholdTenancy",
        "AssuredTenancy",
        "PublicSector",
        "HousingAssociation",
        "AssuredPeriodicTenancy"
      ],
      "type": "string"
    },
    "Alto.Services.SDK.InventoryStatus": {
      "enum": [
        "Unspecified",
        "Appraisal",
        "Available",
        "UnderOffer",
        "Completed",
        "Let",
        "LetAgreed",
        "LetMarketing",
        "Archived",
        "Suspended",
        "Withdrawn",
        "Instructed",
        "NotInstructed",
        "ExternallyLet",
        "UnderOfferMarketing",
        "UnderOfferAvailable",
        "Exchanged",
        "ExternallySold",
        "Reserved"
      ],
      "type": "string"
    }
  }
}