Factorized schemas
MODIFY
src/assets/server/rest/v1/schemas/setting/setting-asset-set.json
src/assets/server/rest/v1/schemas/setting/setting-asset-set.json
}
}
},
+ "links": {
+ "$ref": "setting#/definitions/links"
+ },
"type": {
"type": "string",
"sanitize": "mongo",
]
},
"id": {
- "type": "string",
- "sanitize": "mongo"
+ "$ref": "common#/definitions/id"
},
"identifier": {
"type": "string",
"enum": ["asset"]
},
"sensitiveData": {
- "type": "array",
- "nullable": true,
- "items": {
- "type": "string",
- "sanitize": "mongo"
- }
+ "$ref": "setting#/definitions/sensitiveData"
}
},
"required": [

MODIFY
src/assets/server/rest/v1/schemas/setting/setting-car-connector-set.json
src/assets/server/rest/v1/schemas/setting/setting-car-connector-set.json
}
}
},
+ "links": {
+ "$ref": "setting#/definitions/links"
+ },
"type": {
"type": "string",
"sanitize": "mongo",
]
},
"id": {
- "type": "string",
- "sanitize": "mongo"
+ "$ref": "common#/definitions/id"
},
"identifier": {
"type": "string",
"enum": ["carConnector"]
},
"sensitiveData": {
- "type": "array",
- "nullable": true,
- "items": {
- "type": "string",
- "sanitize": "mongo"
- }
+ "$ref": "setting#/definitions/sensitiveData"
}
},
"required": [

Factorized schemas