All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.zenwave360.sdk.resources.asyncapi.v2.json-schemas.transport-notification-batch-message-envelop.schema Maven / Gradle / Ivy
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "http://logistics.example.com/schemas/hit-nds-p2p-message.json",
"javaType": "io.example.transport.schema.TransportNotificationEventBatch",
"type": "object",
"additionalProperties": false,
"title": "TransportNotificationEventBatch",
"description": "Message schema representing transport notification.",
"required": [
"metadata",
"data"
],
"properties": {
"metadata": {
"$id": "#/properties/metadata",
"javaType": "io.example.transport.schema.TransportNotificationEventBatchMetadata",
"type": "object",
"additionalProperties": false,
"title": "The Metadata Schema",
"description": "meta information about event",
"default": {},
"examples": [
{
"type": "FLIGHT_DELAYED",
"origin": "HIT",
"creationTime": "2020-03-16T15:41:06.974152+05:30",
"entityIdReferenceKeys": [
"flightNumber",
"flightDate"
]
}
],
"required": [
"origin",
"type",
"creationTime"
],
"properties": {
"origin": {
"$id": "#/properties/metadata/properties/origin",
"type": "string",
"title": "origin identifier",
"description": "identifier for the source system of event",
"default": "",
"examples": [
"HIT"
]
},
"type": {
"$id": "#/properties/metadata/properties/type",
"type": "string",
"title": "Type of event",
"description": "Identifier to distinguish event type",
"default": "",
"examples": [
"FLIGHT_DELAYED"
]
},
"creationTime": {
"$id": "#/properties/metadata/properties/creationTime",
"type": "string",
"title": "creationTime",
"format": "date-time",
"description": "Event generation timestamp as per ISO 8601 format",
"default": "",
"examples": [
"2020-03-16T15:41:06.974152Z"
]
},
"entityIdReferenceKeys": {
"$id": "#/properties/metadata/properties/entityIdReferenceKeys",
"type": "array",
"items": {
"type": "string"
},
"title": "attributes requires to build logical key",
"examples": [
[
"flightNumber",
"flightDate"
]
]
}
}
},
"data": {
"$id": "#/properties/data",
"type": "array",
"items": {
"oneOf": [
{
"$ref": "flight-delayed-event.schema"
},
{
"$ref": "truck-stop-delayed-event.schema"
}
]
},
"minItems": 1
}
}
}