Using your own custom labels
Shows how Weave remembers any extra labels you add — both at the top of the file and in a prompt’s settings.
The pattern
---
weave-script-version: 3
title: Using your own custom labels
owner: andrew
team: weave-core
---
## Opening
> duration: 2m
> audio-cue: bell.mp3
## Reflection
> duration: 90
> mood: calm
What Weave sees
When Weave reads this file, it pulls out the information below. You don't need to write any of this yourself.
{
"schemaVersion": 2,
"meta": {
"sourceSpecVersion": 3,
"title": "Using your own custom labels",
"attributes": {
"owner": "andrew",
"team": "weave-core"
}
},
"phases": [
{
"id": "1-opening",
"index": 0,
"name": "Opening",
"durationSeconds": 120,
"perParticipant": false,
"body": "",
"breakouts": null,
"attributes": {
"audio-cue": "bell.mp3"
},
"segmentId": "s1-phase",
"segmentRole": "prompt"
},
{
"id": "2-reflection",
"index": 1,
"name": "Reflection",
"durationSeconds": 90,
"perParticipant": false,
"body": "",
"breakouts": null,
"attributes": {
"mood": "calm"
},
"segmentId": "s1-phase",
"segmentRole": "prompt"
}
],
"segments": [
{
"id": "s1-phase",
"index": 0,
"name": "",
"mode": "single",
"roundRobin": false,
"breakouts": null,
"prefacePhaseIndex": null,
"promptPhaseIndexes": [
0,
1
]
}
]
}