2026-10-09 14:07:58 +02:00
{
"$defs" : {
"DocRef" : {
"properties" : {
"commit" : {
"$ref" : "#/$defs/Sha"
} ,
"end_line" : {
"format" : "uint32" ,
"minimum" : 0 ,
"type" : "integer"
} ,
"path" : {
"$ref" : "#/$defs/Short"
} ,
"start_line" : {
"format" : "uint32" ,
"minimum" : 0 ,
"type" : "integer"
}
} ,
"required" : [
"path" ,
"start_line" ,
"end_line" ,
"commit"
] ,
"type" : "object"
} ,
"Label" : {
"description" : "A key label: `[A-Za-z0-9_-]{1,64}`." ,
"maxLength" : 64 ,
"type" : "string"
} ,
"Line" : {
"description" : "Text of at most 1,000 UTF-8 bytes." ,
"maxLength" : 1000 ,
"type" : "string"
} ,
2026-10-22 23:38:20 +02:00
"OrgRepo" : {
"description" : "A GitHub repository as `Org/Repo`, at most 140 UTF-8 bytes (39 + 1 +\n100). The owner is 1 to 39 `[A-Za-z0-9-]` bytes with no leading or\ntrailing hyphen; the repo is 1 to 100 `[A-Za-z0-9._-]` bytes, is never\n`.` or `..`, and does not end in `.git`, ASCII-case-insensitively.\nIdentity is case-insensitive: `GameCult/Epiphany` and `gamecult/epiphany`\nare the same repository." ,
"maxLength" : 140 ,
"type" : "string"
} ,
2026-10-09 14:07:58 +02:00
"Sha" : {
"description" : "A git commit id: 7-40 lowercase hex characters." ,
"maxLength" : 40 ,
"type" : "string"
} ,
"Short" : {
"description" : "Text of at most 200 UTF-8 bytes." ,
"maxLength" : 200 ,
"type" : "string"
} ,
"Slug" : {
"description" : "A campaign slug or key segment: label parts joined by `.`." ,
"maxLength" : 64 ,
"type" : "string"
} ,
"TargetInvariant" : {
"properties" : {
"label" : {
"$ref" : "#/$defs/Label"
} ,
"statement" : {
"$ref" : "#/$defs/Line"
}
} ,
"required" : [
"label" ,
"statement"
] ,
"type" : "object"
}
} ,
"$id" : "https://gamecult.dev/epiphany/cultnet/epiphany.pipeline.target.v2.schema.json" ,
"$schema" : "https://json-schema.org/draft/2020-12/schema" ,
2026-10-22 23:38:20 +02:00
"description" : "`repos`, when non-empty, is the campaign's whole repo set from this\nrevision on; empty keeps the previous set (ruling campaign-repo-set-home)." ,
2026-10-09 14:07:58 +02:00
"properties" : {
"campaign" : {
"$ref" : "#/$defs/Slug"
} ,
"canonical_implementations" : {
"items" : {
"$ref" : "#/$defs/Line"
} ,
"maxItems" : 16 ,
"type" : "array"
} ,
"doc" : {
"$ref" : "#/$defs/DocRef"
} ,
"invariants" : {
"items" : {
"$ref" : "#/$defs/TargetInvariant"
} ,
"maxItems" : 32 ,
"type" : "array"
} ,
"not_in_scope" : {
"items" : {
"$ref" : "#/$defs/Line"
} ,
"maxItems" : 32 ,
"type" : "array"
} ,
2026-10-22 23:38:20 +02:00
"repos" : {
"items" : {
"$ref" : "#/$defs/OrgRepo"
} ,
"maxItems" : 16 ,
"type" : "array"
} ,
2026-10-09 14:07:58 +02:00
"revision" : {
"format" : "uint32" ,
"minimum" : 0 ,
"type" : "integer"
}
} ,
"required" : [
"campaign" ,
"revision" ,
"invariants" ,
"not_in_scope" ,
"canonical_implementations" ,
"doc"
] ,
"title" : "PipelineTarget" ,
"type" : "object"
}