Files
Dreierpack-Manager/docs/new_ui/integration/examples/contracts.json
T

432 lines
10 KiB
JSON

{
"messageType": "snapshot",
"requestId": "request:example-contracts",
"meta": {
"contractVersion": "bmh-modern-ui@draft1",
"draft": true,
"sourceRevision": "a207b0129e06f0659a5e7b30afa3680739a33029",
"careerId": "career:synthetic-demo",
"worldId": "world:synthetic-demo",
"worldRevision": "fixture-1",
"stateRevision": "40",
"projectionRevision": "40",
"locale": "de",
"date": "2027-03-15",
"season": {
"id": "season:2026-27",
"startDate": "2026-07-01",
"endDate": "2027-06-30",
"label": "2026/27",
"completed": false
},
"scope": {
"managerId": "manager:career-demo-1",
"teamId": "club:harbor",
"role": "club",
"scopeId": "scope:desk-40-0",
"allowedCommands": [
"session.advance",
"lineup.commit",
"manager.resign.commit"
]
},
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"currency": {
"code": "EUR",
"minorUnits": 2
}
},
"data": {
"kind": "contracts",
"teamId": "club:harbor",
"players": [
{
"playerId": "player:harbor-0",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-1",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-2",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-3",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-4",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-5",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-6",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-7",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-8",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-9",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-10",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-11",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-12",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-13",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-14",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-15",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-16",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-17",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-18",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-19",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
}
],
"teamBonuses": [
{
"id": "bonus:synthetic-win",
"amount": {
"minor": "100000",
"currency": "EUR",
"minorUnits": 2
},
"basis": "win"
}
],
"quote": {
"id": "quote:synthetic-contract",
"ownerManagerId": "manager:career-demo-1",
"teamId": "club:harbor",
"expectedRevision": "40",
"scopeId": "scope:desk-40-0",
"expiresOn": "2027-03-15",
"total": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"totalBasis": "month",
"chargesNow": {
"minor": "0",
"currency": "EUR",
"minorUnits": 2
},
"breakdown": [
{
"code": "salary_monthly",
"amount": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
}
}
],
"allowed": true,
"reasonCode": null
}
}
}