32 lines
1.4 KiB
JSON
32 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"title": "SCUMTasksResult",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["rows"],
|
|
"properties": {
|
|
"rows": {
|
|
"type": "array",
|
|
"maxItems": 500,
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["taskRecordId", "taskKind", "userProfileId", "mapId", "trackingDataSetId", "dataAssetPath", "sequenceIndex", "isTracked", "state", "completionDeadline"],
|
|
"properties": {
|
|
"taskRecordId": { "type": "string", "minLength": 1, "maxLength": 160 },
|
|
"taskKind": { "enum": ["active-quest", "active-task", "available-task"] },
|
|
"userProfileId": { "type": ["string", "null"], "minLength": 1, "maxLength": 96 },
|
|
"mapId": { "type": ["string", "null"], "minLength": 1, "maxLength": 96 },
|
|
"trackingDataSetId": { "type": ["string", "null"], "minLength": 1, "maxLength": 96 },
|
|
"dataAssetPath": { "type": "string", "minLength": 1, "maxLength": 512 },
|
|
"sequenceIndex": { "type": ["integer", "null"] },
|
|
"isTracked": { "type": "integer", "minimum": 0, "maximum": 1 },
|
|
"state": { "enum": ["active", "available", "completed-before"] },
|
|
"completionDeadline": { "type": ["number", "null"] }
|
|
}
|
|
}
|
|
},
|
|
"truncated": { "type": "boolean" }
|
|
}
|
|
}
|