Voertuigrestricties in OTM formaat
Uitleg over het voertuigrestrictie product is te vinden bij emissiezones. Uitleg over het OTM formaat is te vinden bij OTM.
Wanneer er een abonnement is aangemaakt en er wordt een valide request naar het endpoint gemaakt, dan wordt de informatie in OTM-formaat opgeleverd. Niet alle voertuigrestricties zijn op dit moment beschikbaar in OTM. Hieronder zijn voorbeelden te vinden van de verschillende voertuigrestricties die in OTM beschreven kunnen worden:
Gewichtsrestrictie voorbeeld in OTM
[
{
"id": "00000000-0000-0000-0000-000000000000",
"geoReference": {
"type": "Feature",
"geometry": {}
},
"constraint": {
"associationType": "inline",
"entity": {
"value": {
"type": "andConstraint",
"and": [
{
"type": "startDateTimeConstraint",
"startDateTime": "2019-12-31T23:00:00Z"
},
{
"type": "valueBoundConstraint",
"valueType": "weight",
"constraintType": "maximum",
"maximum": {
"value": 10000,
"unit": "kg"
}
}
]
}
}
}
}
]
Lengterestrictie voorbeeld in OTM
[
{
"id": "00000000-0000-0000-0000-000000000000",
"geoReference": {
"type": "Feature",
"geometry": {}
},
"constraint": {
"associationType": "inline",
"entity": {
"value": {
"type": "andConstraint",
"and": [
{
"type": "startDateTimeConstraint",
"startDateTime": "2019-12-31T23:00:00Z"
},
{
"type": "valueBoundConstraint",
"valueType": "length",
"constraintType": "maximum",
"maximum": {
"value": 4.0,
"unit": "m"
}
}
]
}
}
}
}
]
Breedterestrictie voorbeeld in OTM
[
{
"id": "9cd8c3df-270e-31cd-b8c7-a3a3964f5040",
"geoReference": {
"type": "Feature",
"geometry": {}
},
"constraint": {
"associationType": "inline",
"entity": {
"value": {
"type": "andConstraint",
"and": [
{
"type": "startDateTimeConstraint",
"startDateTime": "2019-12-31T23:00:00Z"
},
{
"type": "valueBoundConstraint",
"valueType": "width",
"constraintType": "maximum",
"maximum": {
"value": 2.2,
"unit": "m"
}
}
]
}
}
}
}
]
Hoogterestrictie voorbeeld in OTM
[
{
"id": "00000000-0000-0000-0000-000000000000",
"geoReference": {
"type": "Feature",
"geometry": {}
},
"constraint": {
"associationType": "inline",
"entity": {
"value": {
"type": "andConstraint",
"and": [
{
"type": "startDateTimeConstraint",
"startDateTime": "2019-12-31T23:00:00Z"
},
{
"type": "valueBoundConstraint",
"valueType": "height",
"constraintType": "maximum",
"maximum": {
"value": 2.3,
"unit": "m"
}
}
]
}
}
}
}
]
Typerestrictie voorbeeld in OTM
[
{
"id": "00000000-0000-0000-0000-000000000000",
"geoReference": {
"type": "Feature",
"geometry": {}
},
"constraint": {
"associationType": "inline",
"entity": {
"value": {
"type": "notConstraint",
"not": [
{
"type": "vehicleTypeConstraint",
"vehicleTypes": ["n2","n3"]
}
]
}
}
}
}
]
Andere voertuigrestricties
De volgende voertuigrestricties zijn op dit moment niet in OTM beschikbaar:
- Aslast