Fixed schemas parameters
MODIFY
src/assets/server/rest/v1/schemas/chargingstation/chargingstation.json
src/assets/server/rest/v1/schemas/chargingstation/chargingstation.json
"$id": "chargingstation.json",
"definitions": {
"id": {
+ "type": "string",
+ "pattern": "^[^|]*$",
+ "sanitize": "mongo"
+ },
+ "ids": {
"type": "string",
"sanitize": "mongo"
},

MODIFY
src/assets/server/rest/v1/schemas/chargingstation/chargingstations-get.json
src/assets/server/rest/v1/schemas/chargingstation/chargingstations-get.json
"sanitize": "mongo"
},
"ChargingStationID": {
- "$ref": "chargingstation.json#/definitions/id"
+ "$ref": "chargingstation.json#/definitions/ids"
},
"IncludeDeleted": {
"type": "boolean",

MODIFY
src/assets/server/rest/v1/schemas/tag/tag.json
src/assets/server/rest/v1/schemas/tag/tag.json
"type": "string",
"pattern": "^[\\w\\d]*$",
"sanitize": "mongo"
+ },
+ "ids": {
+ "type": "string",
+ "pattern": "^(([\\w\\d]*)(\\||[\\w\\d])*)?$",
+ "sanitize": "mongo"
}
}
}

MODIFY
src/assets/server/rest/v1/schemas/transaction/transactions-get.json
src/assets/server/rest/v1/schemas/transaction/transactions-get.json
"type": "object",
"properties": {
"ChargeBoxID": {
- "$ref": "chargingstation.json#/definitions/id"
+ "$ref": "chargingstation.json#/definitions/ids"
},
"Issuer": {
"type": "boolean",
"sanitize": "mongo"
},
"ConnectorID": {
- "$ref": "chargingstation.json#/definitions/connector/properties/connectorId"
+ "$ref": "chargingstation.json#/definitions/connectorIDs"
},
"SiteAreaID": {
"$ref": "common.json#/definitions/ids"
"$ref": "common.json#/definitions/ids"
},
"TagID": {
- "$ref": "tag.json#/definitions/id"
+ "$ref": "tag.json#/definitions/ids"
},
"StartDateTime": {
"type": "string",

Fixed schemas parameters