tv-anarchy/v2/schema/net/subscription.json
Natalie 4a2ceb9781 feat(offline): inline star-to-keep and trash-to-cull on cache rows
Surface the existing pin (keep-from-cull) and per-file delete actions as
visible inline buttons on each offline cache row instead of context-menu-only:
a star toggles protection from auto-cull (and restore-if-missing), a trash
culls that file early. Aligns wording/icons to the star metaphor.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 00:12:41 -04:00

37 lines
No EOL
1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://tv-anarchy.local/v2/schema/net/subscription.json",
"title": "NetSubscription",
"description": "A fleet subscribes to one Net part with explicit trust.",
"type": "object",
"required": ["part", "trust"],
"properties": {
"part": {
"type": "string",
"enum": ["intro-markers", "grouping", "quality", "signal", "peers-hints"]
},
"trust": {
"type": "string",
"enum": ["friends", "network"],
"description": "friends = f2f_only swarms; network = k-anon aggregates"
},
"edition": {
"type": "string",
"description": "Pinned edition id, or 'latest' to track head",
"default": "latest"
},
"minSources": {
"type": "integer",
"minimum": 1,
"description": "Minimum distinct fleets before merge is published locally",
"default": 1
},
"minConfidence": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.7
}
},
"additionalProperties": false
}