Reservation
Reservation evidence/profile of the owning booking provider; no shadow booking writer is introduced.
- Viewer ID
zenith/resources.Reservation- Term IRI
urn:zenith:ontology-review:shared:0.1.0:resources#Reservation- Schema reference
urn:zenith:ontology-review:shared:0.1.0:resources#/$defs/Reservation
Fields 14
| Field | Contract |
|---|---|
typeRequired | "resources.Reservation"Schema constraints{
"type": "string",
"minLength": 1,
"maxLength": 160,
"const": "resources.Reservation",
"allOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 160
},
{
"const": "resources.Reservation"
}
]
} |
idRequired | stringSchema constraints{
"type": "string",
"minLength": 1,
"maxLength": 256
} |
scopeRequired | ScopeRef Schema constraints{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/ScopeRef"
} |
revisionRequired | integerSchema constraints{
"type": "integer",
"minimum": 1
} |
recorded_atRequired | stringSchema constraints{
"type": "string",
"format": "date-time"
} |
origin_refOptional | OwnedRecordRef Schema constraints{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/OwnedRecordRef"
} |
attributed_toOptional | OwnedRecordRefSchema constraints{
"allOf": [
{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/OwnedRecordRef"
}
],
"properties": {
"kind": {
"enum": [
"Entity",
"Person",
"Agent",
"Organization"
]
}
},
"x-target-types": [
"https://zenith-research.ca/ontology/terms/Entity",
"https://zenith-research.ca/ontology/terms/Person",
"https://zenith-research.ca/ontology/terms/Agent",
"https://zenith-research.ca/ontology/terms/Organization"
]
} |
evidence_refsOptional | arraySchema constraints{
"type": "array",
"items": {
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/ArtifactRef"
},
"minItems": 0,
"maxItems": 128,
"uniqueItems": true
} |
resource_refRequired | OwnedRecordRefSchema constraints{
"allOf": [
{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/OwnedRecordRef"
}
],
"x-target-types": [
"resources.ResourceInstance"
]
} |
offer_refRequired | RevisionQualifiedRefSchema constraints{
"allOf": [
{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/RevisionQualifiedRef"
}
],
"x-target-types": [
"resources.ResourceOffer"
]
} |
windowRequired | TimeWindow Schema constraints{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/TimeWindow"
} |
confirmation_refRequired | ArtifactRef Schema constraints{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/ArtifactRef"
} |
stateRequired | requested | confirmed | cancelledSchema constraints{
"type": "string",
"enum": [
"requested",
"confirmed",
"cancelled"
]
} |
provider_refRequired | OwnedRecordRefSchema constraints{
"allOf": [
{
"$ref": "urn:zenith:ontology-review:shared:0.1.0:foundation#/$defs/OwnedRecordRef"
}
],
"properties": {
"kind": {
"enum": [
"Entity",
"Person",
"Agent",
"Organization"
]
}
},
"x-target-types": [
"https://zenith-research.ca/ontology/terms/Entity",
"https://zenith-research.ca/ontology/terms/Person",
"https://zenith-research.ca/ontology/terms/Agent",
"https://zenith-research.ca/ontology/terms/Organization"
]
} |
Scope & rules
- A confirmed reservation requires confirmation evidence from the owning provider.