JSON Schemas : renamed ids to IDs
MODIFY
src/assets/server/rest/v1/schemas/chargingstation/chargingprofiles-get.json
src/assets/server/rest/v1/schemas/chargingstation/chargingprofiles-get.json
"$ref": "common.json#/definitions/search"
},
"ChargingStationID": {
- "$ref": "chargingstation.json#/definitions/ids"
+ "$ref": "chargingstation.json#/definitions/IDs"
},
"ConnectorID": {
"$ref": "chargingstation.json#/definitions/connector/properties/connectorId"
"sanitize": "mongo"
},
"SiteID": {
- "$ref": "common.json#/definitions/ids"
+ "$ref": "common.json#/definitions/IDs"
},
"Limit": {
"$ref": "common.json#/definitions/limit"

MODIFY
src/assets/server/rest/v1/schemas/chargingstation/chargingstation-qrcode-download.json
src/assets/server/rest/v1/schemas/chargingstation/chargingstation-qrcode-download.json
"$ref": "chargingstation.json#/definitions/connector/properties/connectorId"
},
"SiteAreaID": {
- "$ref": "common.json#/definitions/ids"
+ "$ref": "common.json#/definitions/IDs"
},
"SiteID": {
- "$ref": "common.json#/definitions/ids"
+ "$ref": "common.json#/definitions/IDs"
}
},
"anyOf": [

MODIFY
src/assets/server/rest/v1/schemas/chargingstation/chargingstation.json
src/assets/server/rest/v1/schemas/chargingstation/chargingstation.json
"pattern": "^[^|]*$",
"sanitize": "mongo"
},
- "ids": {
+ "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"
},
"SiteID": {
- "$ref": "common.json#/definitions/ids"
+ "$ref": "common.json#/definitions/IDs"
},
"CompanyID": {
- "$ref": "common.json#/definitions/ids"
+ "$ref": "common.json#/definitions/IDs"
},
"WithSite": {
"type": "boolean",
"sanitize": "mongo"
},
"SiteAreaID": {
- "$ref": "common.json#/definitions/ids"
+ "$ref": "common.json#/definitions/IDs"
},
"ConnectorStatus": {
"type": "string",
"sanitize": "mongo"
},
"ChargingStationID": {
- "$ref": "chargingstation.json#/definitions/ids"
+ "$ref": "chargingstation.json#/definitions/IDs"
},
"IncludeDeleted": {
"type": "boolean",

MODIFY
src/assets/server/rest/v1/schemas/chargingstation/chargingstations-inerror-get.json
src/assets/server/rest/v1/schemas/chargingstation/chargingstations-inerror-get.json
"$ref": "common.json#/definitions/search"
},
"SiteID": {
- "$ref": "common.json#/definitions/ids"
+ "$ref": "common.json#/definitions/IDs"
},
"SiteAreaID": {
- "$ref": "common.json#/definitions/ids"
+ "$ref": "common.json#/definitions/IDs"
},
"ErrorType": {
"type": "string",

MODIFY
src/assets/server/rest/v1/schemas/common/common.json
src/assets/server/rest/v1/schemas/common/common.json
"pattern": "^$|^[0-9a-fA-F]{24}$",
"sanitize": "mongo"
},
- "ids": {
+ "IDs": {
"type": "string",
"pattern": "^$|^([0-9a-fA-F]{24}\\|?)*$",
"sanitize": "mongo"

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

MODIFY
src/assets/server/rest/v1/schemas/tag/tags-get.json
src/assets/server/rest/v1/schemas/tag/tags-get.json
"$ref": "tag.json#/definitions/issuer"
},
"UserID": {
- "$ref": "user.json#/definitions/ids"
+ "$ref": "user.json#/definitions/IDs"
},
"WithUser": {
"type": "boolean",
},
"ProjectFields": {
"$ref": "common.json#/definitions/projectFields"
- },
- "WithUser": {
- "type": "boolean",
- "sanitize": "mongo"
}
},
"required": []

MODIFY
src/assets/server/rest/v1/schemas/transaction/transactions-get.json
src/assets/server/rest/v1/schemas/transaction/transactions-get.json
"type": "object",
"properties": {
"ChargingStationID": {
- "$ref": "chargingstation.json#/definitions/ids"
+ "$ref": "chargingstation.json#/definitions/IDs"
},
"Issuer": {
"type": "boolean",
"$ref": "chargingstation.json#/definitions/connectorIDs"
},
"SiteAreaID": {
- "$ref": "common.json#/definitions/ids"
+ "$ref": "common.json#/definitions/IDs"
},
"SiteID": {
- "$ref": "common.json#/definitions/ids"
+ "$ref": "common.json#/definitions/IDs"
},
"UserID": {
- "$ref": "common.json#/definitions/ids"
+ "$ref": "common.json#/definitions/IDs"
},
"TagID": {
"type": "string",
]
},
"ReportIDs": {
- "$ref": "common.json#/definitions/ids"
+ "$ref": "common.json#/definitions/IDs"
},
"Status": {
"type": "string",

MODIFY
src/assets/server/rest/v1/schemas/user/user.json
src/assets/server/rest/v1/schemas/user/user.json
"id": {
"$ref": "common.json#/definitions/id"
},
- "ids": {
- "$ref": "common.json#/definitions/ids"
+ "IDs": {
+ "$ref": "common.json#/definitions/IDs"
},
"name": {
"type": "string",

MODIFY
src/assets/server/rest/v1/schemas/user/users-get.json
src/assets/server/rest/v1/schemas/user/users-get.json
"sanitize": "mongo"
},
"SiteID": {
- "$ref": "common.json#/definitions/ids"
+ "$ref": "common.json#/definitions/IDs"
},
"UserID": {
- "$ref": "user.json#/definitions/ids"
+ "$ref": "user.json#/definitions/IDs"
},
"Roles": {
"type": "string",
"pattern": "^[PAIBL](\\|[PAIBL])*$"
},
"ExcludeSiteID": {
- "$ref": "common.json#/definitions/ids"
+ "$ref": "common.json#/definitions/IDs"
},
"VisualTagID": {
"type": "string",

JSON Schemas : renamed ids to IDs