Attributes

This page explains how to find out which attributes to send for each category when calling Valuations or Enrich.

MethodWhen to use it
Schema endpointYour app needs the exact list of fields, types, and allowed values (e.g. to build forms or validate).
Reference endpointFor attributes with enumRef (e.g. brand, model): look up allowed values.
This pageYou want a human-readable summary and copy-paste examples.

Get the schema from the API

Use the API to fetch the validation schema for a model (car, wristwatch, ring, or a pinned version like wristwatch@0.2). That schema defines every attribute name, type, and allowed values.

List models:

GET /v1/models
X-API-Key: <your-api-key>
{
  "models": [
    { "assetType": "wristwatch", "name": "wristwatch@0.2", "deployedAt": "2026-03-25", "isDefault": true }
  ]
}

Filter by item type with ?assetType=car or ?assetType=car,wristwatch.

Get schema for a model:

GET
/v1/models/{model}/schema
curl https://api.gemmai.io/v1/models/wristwatch/schema \
  -H "X-API-Key: <your-api-key>"
{
  "assetType": "wristwatch",
  "version": "wristwatch@0.2",
  "schema": {
    "type": "object",
    "properties": {
      "brand": { "type": "string", "description": "the brand of the wristwatch" },
      "model": { "type": "string", "description": "the model of the wristwatch" },
      "referenceNumber": { "type": "string" },
      "strap": { "type": "string", "enum": ["steel", "leather", "fabric", "..."] },
      "movement": { "type": "string", "enum": ["automatic", "manual", "quartz", "smart", "solar"] }
    },
    "required": ["brand"],
    "additionalProperties": false
  }
}
  • properties — every attribute you can send; keys are the attribute names.
  • required — attributes you must include for that model.
  • enum — for string fields, the only allowed values.

Look up values (reference data)

Only attributes with an enumRef in the schema support lookup via the reference endpoint. Currently brand and model (for wristwatch and car) have enumRef. Other fields (e.g. strap, condition) use fixed enums in the schema.

GET
/v1/reference/{ref}
curl "https://api.gemmai.io/v1/reference/brand?q=rol&assetType=wristwatch" \
  -H "X-API-Key: <your-api-key>"

Response is a list of { value, probability } items. Use the exact value strings when sending attributes to Valuations or Enrich.

Using Enrich to fill in attributes

If you have a photo but don't know all the attributes, use Enrich to get a full set from the image.

  1. POST /v1/files with imageUrl → get fileId
  2. POST /v1/enrich with model and input.file → get normalizedAttributes
  3. Pass normalizedAttributes directly to POST /v1/valuations, or show them to the user for editing first
{
  "model": "wristwatch",
  "input": { "file": { "fileId": "f47ac10b-58cc-4372-a567-0e02b2c3d479" } }
}

→ Response normalizedAttributes includes brand, model, strap, dialColor, movement, condition — all in the correct format for the schema. See the Enrich guide for the full flow.

Quick reference by category

For exact enum values, use the schema endpoint above. The tables below are a human-readable summary.

Wristwatch

AttributeTypeRequiredDescription
brandstringYesBrand name (e.g. Rolex). Use reference brand for suggestions.
modelstringNoModel name (e.g. Submariner).
referenceNumberstringNoReference number (e.g. 116610LN).
yearnumberNoYear of production (1900–current+1).
strapstringNoe.g. steel, leather, fabric, yellow gold, rose gold, rubber
bezelstringNoSame-style enums as strap/case.
casestringNoCase material. Same-style enums.
movementstringNoautomatic | manual | quartz | smart | solar
dialColorstringNoe.g. black, blue, white, champagne, green, skeleton
caseDiameternumberNoCase diameter in mm (12–60).
boxbooleanNoOriginal box included.
papersbooleanNoOriginal papers included.
conditionstringNopoor | fair | good | very_good | excellent

Only brand is required. More attributes give a tighter price range and higher confidence.

{
  "model": "wristwatch",
  "attributes": { "brand": "Rolex" }
}

Car

All listed attributes are required for a full car valuation.

AttributeTypeRequiredDescription
licensePlatestringYesSwedish license plate.
brandstringYese.g. Volvo
modelstringYese.g. XC60
yearOfManufacturenumberYesYear (1900–current+1).
odometerReadingnumberYesOdometer in kilometers.
fuelTypestringYese.g. Gasoline (Petrol), Diesel, Electric, Plug-in Hybrid (PHEV)
drivestringYes2WD | AWD | FWD | RWD
gearboxstringYesManual | Automatic | Semi-Automatic
enginePowernumberYesEngine power in horsepower.
colorstringYese.g. black, white, gray, blue, red
additionalWheelsetbooleanYesWhether the car has an additional wheelset.
{
  "model": "car",
  "attributes": {
    "licensePlate": "ABC123",
    "brand": "Volvo",
    "model": "XC60",
    "yearOfManufacture": 2020,
    "odometerReading": 45000,
    "fuelType": "Plug-in Hybrid (PHEV)",
    "drive": "AWD",
    "gearbox": "Automatic",
    "enginePower": 340,
    "color": "black",
    "additionalWheelset": false
  }
}

Ring

AttributeTypeRequiredDescription
stylestringYese.g. solitairering, eternityring, signetring, weddingring
engravingbooleanYesWhether the ring has engraving.
materialstringYeswhite gold | yellow gold | rose gold | silver | gold plated
materialPuritystringYese.g. 9k, 14k, 18k, 21k, 925, 950
weightnumberYesWeight in grams.
conditionstringYespoor | fair | good | very_good | excellent
sizenumberNoRing size.
diamondCaratnumberNoDiamond carat weight (0–5).
{
  "model": "ring",
  "attributes": {
    "style": "solitairering",
    "engraving": false,
    "material": "white gold",
    "materialPurity": "18k",
    "weight": 4.2,
    "condition": "excellent",
    "diamondCarat": 0.5
  }
}

Necklace

If your deployment supports the necklace category, call GET /v1/models/necklace/schema for the exact schema.

AttributeTypeRequiredDescription
stylestringYese.g. necklace, collar, pansar, venezia, figaro, pearlnecklace
materialstringYeswhite gold | yellow gold | rose gold | silver | gold plated
materialPuritystringYese.g. 9k, 14k, 18k, 925
chainLengthnumberYesChain length in cm.
chainWidthnumberYesChain width in mm.
weightnumberYesWeight in grams.
conditionstringYespoor | fair | good | very_good | excellent
pendantTypestringNoe.g. stone, gold-shape, pearl, berlock

Property

Homes in Sweden: apartments, row and semi-detached houses, detached houses and holiday homes. Plots, farms and forest estates are not valued. Leave out a field you don't know; don't send 0. The more you send, the better the estimate: streetAddress and brf help the most, because they let the model find earlier sales of the same home and housing association.

AttributeTypeRequiredDescription
housingFormstringYesAPARTMENT | ROW_HOUSE | TWIN_HOUSE | LINKED_HOUSE | TERRACED_HOUSE | HOUSE | VACATION_HOUSE | VACATION_HOME | WINTERIZED_VACATION_HOME
livingAreanumberYesLiving area (boyta) in m² (10–1000).
latnumberYesLatitude, WGS 84 (55.0–69.2).
lngnumberYesLongitude, WGS 84 (10.5–24.3).
tenurestringNoOWNED | TENANT_OWNERSHIP | SITE_LEASEHOLD | OTHER. Default: TENANT_OWNERSHIP for apartments, OWNED otherwise.
streetAddressstringNoe.g. Rörstrandsgatan 12 A.
brfstringNoOrganisation number of the housing association, e.g. 7164181138.
numberOfRoomsnumberNo0–25, halves allowed. The kitchen is not counted.
landAreanumberNoPlot area in m².
supplementalAreanumberNoSecondary area (biarea) in m².
feenumberNoMonthly fee to the housing association, SEK per month.
runningCostsnumberNoRunning costs, SEK per year.
floornumberNoFloor of the apartment (−5–100; 1 = entrance level).
floorCountnumberNoNumber of floors in the building.
constructionYearnumberNoYear built (1500–2030).
labelsstring[]NoAny of BALCONY, ELEVATOR, PATIO.
{
  "model": "property",
  "attributes": {
    "housingForm": "APARTMENT",
    "livingArea": 58,
    "numberOfRooms": 2,
    "fee": 3100,
    "floor": 4,
    "streetAddress": "Atlasgatan 16",
    "lat": 59.338635,
    "lng": 18.036988
  }
}

GoalWhat to call
List models and versionsGET /v1/models
Get exact attributes and enumsGET /v1/models/{model}/schema
Search brands or modelsGET /v1/reference/brand?q=... or GET /v1/reference/model?q=...&brand=Rolex
Get suggested attributes from a photoVision → POST /v1/enrich → use normalizedAttributes

Was this page helpful?