Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 94 additions & 0 deletions CardListing/30338f0a-59fa-4615-9eda-9b6d97b5a2d9.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"data": {
"meta": {
"adoptsFrom": {
"name": "CardListing",
"module": "https://realms-staging.stack.cards/catalog/catalog-app/listing/listing"
}
},
"type": "card",
"attributes": {
"name": "Soccer Match Panel with Live Score and Events",
"images": [],
"summary": "The SoccerMatch card defines a comprehensive model for simulating and visualizing a soccer match. It manages match states, including score, time, stamina, possession, and events. The card tracks detailed match events such as goals, shots, fouls, and other in-game occurrences, maintaining a log for commentary. It also provides tools for running automated minute-by-minute simulations, updating match statistics dynamically, and visualizing momentum trends via sparklines. Embedded components offer various presentation formats like full match view, streamlined fixtures, and live commentary, making it suitable for interactive soccer match play, analysis, and storytelling within an application.",
"cardInfo": {
"name": null,
"notes": null,
"summary": null,
"cardThumbnailURL": null
}
},
"relationships": {
"tags.0": {
"links": {
"self": "https://realms-staging.stack.cards/catalog/Tag/140feda8-625b-4a24-9ddb-6f4da891aef2"
}
},
"tags.1": {
"links": {
"self": "https://realms-staging.stack.cards/catalog/Tag/4d0f9ae2-048e-4ce0-b263-7006602ce6a4"
}
},
"skills": {
"links": {
"self": null
}
},
"license": {
"links": {
"self": "https://realms-staging.stack.cards/catalog/License/4c5a023b-a72c-4f90-930b-da60a1de5b2d"
}
},
"specs.0": {
"links": {
"self": "../Spec/a86ec593-ab4d-4054-ad49-282b69e9a3ee"
}
},
"specs.1": {
"links": {
"self": "../Spec/6ec593ab-4d20-44ad-8928-2b69e9a3eecc"
}
},
"specs.2": {
"links": {
"self": "../Spec/c593ab4d-2054-4d49-a82b-69e9a3eecc61"
}
},
"specs.3": {
"links": {
"self": "../Spec/93ab4d20-54ad-4928-ab69-e9a3eecc6129"
}
},
"specs.4": {
"links": {
"self": "../Spec/ab4d2054-ad49-482b-a9e9-a3eecc6129d2"
}
},
"publisher": {
"links": {
"self": null
}
},
"categories": {
"links": {
"self": null
}
},
"examples.0": {
"links": {
"self": "../SoccerMatch/blue-city-vs-red-united"
}
},
"examples.1": {
"links": {
"self": "../SoccerMatch/431e9ffb-8c9b-4f74-99a2-bc0b7200a57b"
}
},
"cardInfo.theme": {
"links": {
"self": null
}
}
}
}
}
60 changes: 60 additions & 0 deletions SoccerMatch/431e9ffb-8c9b-4f74-99a2-bc0b7200a57b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"data": {
"meta": {
"adoptsFrom": {
"name": "SoccerMatch",
"module": "../soccer-match"
}
},
"type": "card",
"attributes": {
"score": {
"away": null,
"home": null
},
"awayTeam": {
"name": null,
"color": null,
"rating": null,
"formation": null
},
"cardInfo": {
"name": "asdad",
"notes": null,
"summary": null,
"cardThumbnailURL": null
},
"homeTeam": {
"name": null,
"color": null,
"rating": null,
"formation": null
},
"isPaused": false,
"matchLog": [],
"addedTime": null,
"awayShots": {
"shots": null,
"onTarget": null
},
"homeShots": {
"shots": null,
"onTarget": null
},
"isFinished": false,
"possession": null,
"awayStamina": null,
"homeStamina": null,
"isSecondHalf": false,
"currentMinute": null,
"momentumSeries": []
},
"relationships": {
"cardInfo.theme": {
"links": {
"self": null
}
}
}
}
}
60 changes: 60 additions & 0 deletions SoccerMatch/blue-city-vs-red-united.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"data": {
"meta": {
"adoptsFrom": {
"name": "SoccerMatch",
"module": "../soccer-match"
}
},
"type": "card",
"attributes": {
"score": {
"away": 0,
"home": 0
},
"awayTeam": {
"name": "Red United",
"color": "#dc2626",
"rating": 82,
"formation": "4-2-3-1"
},
"cardInfo": {
"notes": null,
"name": null,
"summary": null,
"cardThumbnailURL": null
},
"homeTeam": {
"name": "Blue City",
"color": "#2563eb",
"rating": 84,
"formation": "4-3-3"
},
"isPaused": false,
"matchLog": [],
"addedTime": 2,
"awayShots": {
"shots": 0,
"onTarget": 0
},
"homeShots": {
"shots": 0,
"onTarget": 0
},
"isFinished": false,
"possession": "home",
"awayStamina": 100,
"homeStamina": 100,
"isSecondHalf": false,
"currentMinute": 0,
"momentumSeries": []
},
"relationships": {
"cardInfo.theme": {
"links": {
"self": null
}
}
}
}
}
40 changes: 40 additions & 0 deletions Spec/6ec593ab-4d20-44ad-8928-2b69e9a3eecc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"data": {
"type": "card",
"attributes": {
"readMe": null,
"ref": {
"module": "../soccer-match",
"name": "MatchEventField"
},
"specType": "field",
"containedExamples": [],
"cardTitle": "Match Event",
"cardDescription": null,
"cardInfo": {
"name": null,
"summary": null,
"cardThumbnailURL": null,
"notes": null
}
},
"relationships": {
"linkedExamples": {
"links": {
"self": null
}
},
"cardInfo.theme": {
"links": {
"self": null
}
}
},
"meta": {
"adoptsFrom": {
"module": "https://cardstack.com/base/spec",
"name": "Spec"
}
}
}
}
40 changes: 40 additions & 0 deletions Spec/93ab4d20-54ad-4928-ab69-e9a3eecc6129.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"data": {
"type": "card",
"attributes": {
"readMe": null,
"ref": {
"module": "../soccer-match",
"name": "ScoreField"
},
"specType": "field",
"containedExamples": [],
"cardTitle": "Score",
"cardDescription": null,
"cardInfo": {
"name": null,
"summary": null,
"cardThumbnailURL": null,
"notes": null
}
},
"relationships": {
"linkedExamples": {
"links": {
"self": null
}
},
"cardInfo.theme": {
"links": {
"self": null
}
}
},
"meta": {
"adoptsFrom": {
"module": "https://cardstack.com/base/spec",
"name": "Spec"
}
}
}
}
40 changes: 40 additions & 0 deletions Spec/a86ec593-ab4d-4054-ad49-282b69e9a3ee.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"data": {
"type": "card",
"attributes": {
"readMe": null,
"ref": {
"module": "../soccer-match",
"name": "TeamField"
},
"specType": "field",
"containedExamples": [],
"cardTitle": "Team",
"cardDescription": null,
"cardInfo": {
"name": null,
"summary": null,
"cardThumbnailURL": null,
"notes": null
}
},
"relationships": {
"linkedExamples": {
"links": {
"self": null
}
},
"cardInfo.theme": {
"links": {
"self": null
}
}
},
"meta": {
"adoptsFrom": {
"module": "https://cardstack.com/base/spec",
"name": "Spec"
}
}
}
}
40 changes: 40 additions & 0 deletions Spec/ab4d2054-ad49-482b-a9e9-a3eecc6129d2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"data": {
"type": "card",
"attributes": {
"readMe": null,
"ref": {
"module": "../soccer-match",
"name": "SoccerMatch"
},
"specType": "card",
"containedExamples": [],
"cardTitle": "Soccer Match",
"cardDescription": null,
"cardInfo": {
"name": null,
"summary": null,
"cardThumbnailURL": null,
"notes": null
}
},
"relationships": {
"linkedExamples": {
"links": {
"self": null
}
},
"cardInfo.theme": {
"links": {
"self": null
}
}
},
"meta": {
"adoptsFrom": {
"module": "https://cardstack.com/base/spec",
"name": "Spec"
}
}
}
}
Loading
Loading