Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing "uri" format constraint from all string identifiers #15

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions v1.1/BootNotificationRequest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "urn:VDV463:1:0:0:BootNotificationRequest",
"comment": "VDV463 1.0.0 FINAL",
"title": "BootNotificationRequest",
"description": "This type represents the data sent by the presystem to the load management system as a result associated with a successful boot of the presystem.",
"additionalProperties": false,
"type": "object",
"properties": {
"presystem": {
"$ref": "#/definitions/PresystemEnumType"
}
},
"required": [
"presystem"
],
"definitions": {
"PresystemEnumType": {
"additionalProperties": false,
"type": "string",
"enum": [
"BMS",
"ITCS"
]
}
}
}
27 changes: 27 additions & 0 deletions v1.1/BootNotificationResponse.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "urn:VDV463:1:0:0:BootNotificationResponse",
"comment": "VDV463 1.0.0 FINAL",
"title": "BootNotificationResponse",
"description": "This type represents the response data sent by the load management system to the presystem as a result associated with the boot notification previously sent by the presystem.",
"type": "object",
"additionalProperties": false,
"properties": {
"status": {
"$ref": "#/definitions/BootNotificationStatusEnumType"
}
},
"required": [
"status"
],
"definitions": {
"BootNotificationStatusEnumType": {
"type": "string",
"additionalProperties": false,
"enum": [
"Accepted",
"Rejected"
]
}
}
}
59 changes: 59 additions & 0 deletions v1.1/MessageStructure.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "urn:VDV463:1:0:0:MessageStructure",
"comment": "VDV463 1.0.0 FINAL",
"title": "MessageStructure",
"type": "array",
"additionalProperties": false,
"description": "This type represents a generic message structure associated with the VDV463.",
"items": [
{
"type": "integer",
"additionalProperties": false,
"description": "This type represents the message type.",
"enum": [
1,
2,
3
]
},
{
"type": "string",
"additionalProperties": false,
"description": "This type represents the source of the data of the message."
},
{
"description": "This type represents an unique identifier for the presystemId.",
"type": "string",
"additionalProperties": false
},
{
"type": "string",
"additionalProperties": false,
"description": "This type represents the current timestamp of the message.",
"format": "date-time"
},
{
"type": "string",
"additionalProperties": false,
"description": "This type represents the unique identifier of the message.",
"format": "uuid"
},
{
"type": "string",
"additionalProperties": false,
"description": "This type represents the action of the message.",
"enum": [
"BootNotification",
"ProvideChargingRequests",
"ProvideChargingInformation"
]
},
{
"type": "object",
"description": "This type represents the payload of the message which is specified in separate JSON schemas."
}
],
"minItems": 7,
"maxItems": 7
}
Loading