demand summary vehicle rent
This example exists to prove the schema refuses something the specification forbids. Validator output at build time:
/bands/transactionmust be equal to constant ("sale")/must match "then" schema
{
"specVersion": "0.1",
"type": "demand-summary",
"id": "urn:uuid:x-vehicle-rent",
"created": "2026-10-11T09:00:00Z",
"holder": {
"id": "https://www.autoisto.sk",
"name": "AutoIsto"
},
"category": "vehicle",
"country": "SK",
"currency": "EUR",
"bands": {
"transaction": "rent",
"make": "Škoda",
"model": "Octavia",
"price": {
"from": 12000,
"to": 18000
},
"years": {
"from": 2015,
"to": 2019
},
"area": {
"regions": [
"SK-ZI"
]
}
},
"buyers": 14,
"asOf": "2026-10-11T09:00:00Z"
}