Regenerate the nine pipeline schemas for RS-L's third fix
OrgRepo's doc comment now explains its hand-written identity-based PartialEq/Eq/Hash/PartialOrd/Ord and the ASCII-case-insensitive .git refusal (S-1, S-2); Title's regains the bytes-versus-characters caveat (S-5). Both are schema descriptions, so nine of the thirteen published schemas move: campaign, question, ruling and cut_spec carry Title; campaign, cut_report, cut_spec, finding, follow_up, hand_off, ruling and stewardship carry OrgRepo directly or through ForeignRef. Byte-for-byte identical to what `schemars::schema_for!` derives from the code in the previous commit, pinned by pipeline_published_schemas_match_derivation. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
0631cbefb6
commit
466628ac39
9 changed files with 12 additions and 12 deletions
|
|
@ -28,7 +28,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"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`. Compare and key repositories\nonly through `OrgRepo::identity()`.",
|
||||
"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.\n\nThe raw string is display-only. `OrgRepo` is not generated by\n`bounded_text!`: that macro derives `PartialEq`, `Eq`, `Hash`, `PartialOrd`\nand `Ord` on the raw string, with no per-member override, so a type built\nfrom it compares and keys on spelling. `OrgRepo` instead carries\nhand-written impls of those five traits, every one of them over\n`identity()` (the ASCII-lowercased value), so `==`, a `BTreeMap` key and a\n`HashMap` key are all case-insensitive by construction: `GameCult/Epiphany`\nand `gamecult/epiphany` compare equal, hash equal, order together and\ncollapse to one map entry, and a caller cannot reach the case-sensitive\nbehaviour by accident. `Hash` and `Eq` agree because both are defined over\nthe same `identity()` string. Every other bounded type keeps the macro's\nderives untouched.",
|
||||
"maxLength": 140,
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"Title": {
|
||||
"description": "A title: 1 to 200 UTF-8 bytes. Holds at least one alphanumeric\ncharacter, no control character, and no bidi control character\n(`U+061C`, `U+200E`, `U+200F`, `U+202A`-`U+202E`, `U+2066`-`U+2069`).",
|
||||
"description": "A title: 1 to 200 UTF-8 bytes, enforced by admission; JSON Schema\nlength counts characters. Holds at least one alphanumeric character,\nno control character, and no bidi control character (`U+061C`,\n`U+200E`, `U+200F`, `U+202A`-`U+202E`, `U+2066`-`U+2069`).",
|
||||
"maxLength": 200,
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"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`. Compare and key repositories\nonly through `OrgRepo::identity()`.",
|
||||
"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.\n\nThe raw string is display-only. `OrgRepo` is not generated by\n`bounded_text!`: that macro derives `PartialEq`, `Eq`, `Hash`, `PartialOrd`\nand `Ord` on the raw string, with no per-member override, so a type built\nfrom it compares and keys on spelling. `OrgRepo` instead carries\nhand-written impls of those five traits, every one of them over\n`identity()` (the ASCII-lowercased value), so `==`, a `BTreeMap` key and a\n`HashMap` key are all case-insensitive by construction: `GameCult/Epiphany`\nand `gamecult/epiphany` compare equal, hash equal, order together and\ncollapse to one map entry, and a caller cannot reach the case-sensitive\nbehaviour by accident. `Hash` and `Eq` agree because both are defined over\nthe same `identity()` string. Every other bounded type keeps the macro's\nderives untouched.",
|
||||
"maxLength": 140,
|
||||
"type": "string"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"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`. Compare and key repositories\nonly through `OrgRepo::identity()`.",
|
||||
"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.\n\nThe raw string is display-only. `OrgRepo` is not generated by\n`bounded_text!`: that macro derives `PartialEq`, `Eq`, `Hash`, `PartialOrd`\nand `Ord` on the raw string, with no per-member override, so a type built\nfrom it compares and keys on spelling. `OrgRepo` instead carries\nhand-written impls of those five traits, every one of them over\n`identity()` (the ASCII-lowercased value), so `==`, a `BTreeMap` key and a\n`HashMap` key are all case-insensitive by construction: `GameCult/Epiphany`\nand `gamecult/epiphany` compare equal, hash equal, order together and\ncollapse to one map entry, and a caller cannot reach the case-sensitive\nbehaviour by accident. `Hash` and `Eq` agree because both are defined over\nthe same `identity()` string. Every other bounded type keeps the macro's\nderives untouched.",
|
||||
"maxLength": 140,
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -268,7 +268,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"Title": {
|
||||
"description": "A title: 1 to 200 UTF-8 bytes. Holds at least one alphanumeric\ncharacter, no control character, and no bidi control character\n(`U+061C`, `U+200E`, `U+200F`, `U+202A`-`U+202E`, `U+2066`-`U+2069`).",
|
||||
"description": "A title: 1 to 200 UTF-8 bytes, enforced by admission; JSON Schema\nlength counts characters. Holds at least one alphanumeric character,\nno control character, and no bidi control character (`U+061C`,\n`U+200E`, `U+200F`, `U+202A`-`U+202E`, `U+2066`-`U+2069`).",
|
||||
"maxLength": 200,
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"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`. Compare and key repositories\nonly through `OrgRepo::identity()`.",
|
||||
"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.\n\nThe raw string is display-only. `OrgRepo` is not generated by\n`bounded_text!`: that macro derives `PartialEq`, `Eq`, `Hash`, `PartialOrd`\nand `Ord` on the raw string, with no per-member override, so a type built\nfrom it compares and keys on spelling. `OrgRepo` instead carries\nhand-written impls of those five traits, every one of them over\n`identity()` (the ASCII-lowercased value), so `==`, a `BTreeMap` key and a\n`HashMap` key are all case-insensitive by construction: `GameCult/Epiphany`\nand `gamecult/epiphany` compare equal, hash equal, order together and\ncollapse to one map entry, and a caller cannot reach the case-sensitive\nbehaviour by accident. `Hash` and `Eq` agree because both are defined over\nthe same `identity()` string. Every other bounded type keeps the macro's\nderives untouched.",
|
||||
"maxLength": 140,
|
||||
"type": "string"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"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`. Compare and key repositories\nonly through `OrgRepo::identity()`.",
|
||||
"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.\n\nThe raw string is display-only. `OrgRepo` is not generated by\n`bounded_text!`: that macro derives `PartialEq`, `Eq`, `Hash`, `PartialOrd`\nand `Ord` on the raw string, with no per-member override, so a type built\nfrom it compares and keys on spelling. `OrgRepo` instead carries\nhand-written impls of those five traits, every one of them over\n`identity()` (the ASCII-lowercased value), so `==`, a `BTreeMap` key and a\n`HashMap` key are all case-insensitive by construction: `GameCult/Epiphany`\nand `gamecult/epiphany` compare equal, hash equal, order together and\ncollapse to one map entry, and a caller cannot reach the case-sensitive\nbehaviour by accident. `Hash` and `Eq` agree because both are defined over\nthe same `identity()` string. Every other bounded type keeps the macro's\nderives untouched.",
|
||||
"maxLength": 140,
|
||||
"type": "string"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"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`. Compare and key repositories\nonly through `OrgRepo::identity()`.",
|
||||
"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.\n\nThe raw string is display-only. `OrgRepo` is not generated by\n`bounded_text!`: that macro derives `PartialEq`, `Eq`, `Hash`, `PartialOrd`\nand `Ord` on the raw string, with no per-member override, so a type built\nfrom it compares and keys on spelling. `OrgRepo` instead carries\nhand-written impls of those five traits, every one of them over\n`identity()` (the ASCII-lowercased value), so `==`, a `BTreeMap` key and a\n`HashMap` key are all case-insensitive by construction: `GameCult/Epiphany`\nand `gamecult/epiphany` compare equal, hash equal, order together and\ncollapse to one map entry, and a caller cannot reach the case-sensitive\nbehaviour by accident. `Hash` and `Eq` agree because both are defined over\nthe same `identity()` string. Every other bounded type keeps the macro's\nderives untouched.",
|
||||
"maxLength": 140,
|
||||
"type": "string"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"Title": {
|
||||
"description": "A title: 1 to 200 UTF-8 bytes. Holds at least one alphanumeric\ncharacter, no control character, and no bidi control character\n(`U+061C`, `U+200E`, `U+200F`, `U+202A`-`U+202E`, `U+2066`-`U+2069`).",
|
||||
"description": "A title: 1 to 200 UTF-8 bytes, enforced by admission; JSON Schema\nlength counts characters. Holds at least one alphanumeric character,\nno control character, and no bidi control character (`U+061C`,\n`U+200E`, `U+200F`, `U+202A`-`U+202E`, `U+2066`-`U+2069`).",
|
||||
"maxLength": 200,
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"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`. Compare and key repositories\nonly through `OrgRepo::identity()`.",
|
||||
"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.\n\nThe raw string is display-only. `OrgRepo` is not generated by\n`bounded_text!`: that macro derives `PartialEq`, `Eq`, `Hash`, `PartialOrd`\nand `Ord` on the raw string, with no per-member override, so a type built\nfrom it compares and keys on spelling. `OrgRepo` instead carries\nhand-written impls of those five traits, every one of them over\n`identity()` (the ASCII-lowercased value), so `==`, a `BTreeMap` key and a\n`HashMap` key are all case-insensitive by construction: `GameCult/Epiphany`\nand `gamecult/epiphany` compare equal, hash equal, order together and\ncollapse to one map entry, and a caller cannot reach the case-sensitive\nbehaviour by accident. `Hash` and `Eq` agree because both are defined over\nthe same `identity()` string. Every other bounded type keeps the macro's\nderives untouched.",
|
||||
"maxLength": 140,
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"Title": {
|
||||
"description": "A title: 1 to 200 UTF-8 bytes. Holds at least one alphanumeric\ncharacter, no control character, and no bidi control character\n(`U+061C`, `U+200E`, `U+200F`, `U+202A`-`U+202E`, `U+2066`-`U+2069`).",
|
||||
"description": "A title: 1 to 200 UTF-8 bytes, enforced by admission; JSON Schema\nlength counts characters. Holds at least one alphanumeric character,\nno control character, and no bidi control character (`U+061C`,\n`U+200E`, `U+200F`, `U+202A`-`U+202E`, `U+2066`-`U+2069`).",
|
||||
"maxLength": 200,
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"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`. Compare and key repositories\nonly through `OrgRepo::identity()`.",
|
||||
"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.\n\nThe raw string is display-only. `OrgRepo` is not generated by\n`bounded_text!`: that macro derives `PartialEq`, `Eq`, `Hash`, `PartialOrd`\nand `Ord` on the raw string, with no per-member override, so a type built\nfrom it compares and keys on spelling. `OrgRepo` instead carries\nhand-written impls of those five traits, every one of them over\n`identity()` (the ASCII-lowercased value), so `==`, a `BTreeMap` key and a\n`HashMap` key are all case-insensitive by construction: `GameCult/Epiphany`\nand `gamecult/epiphany` compare equal, hash equal, order together and\ncollapse to one map entry, and a caller cannot reach the case-sensitive\nbehaviour by accident. `Hash` and `Eq` agree because both are defined over\nthe same `identity()` string. Every other bounded type keeps the macro's\nderives untouched.",
|
||||
"maxLength": 140,
|
||||
"type": "string"
|
||||
},
|
||||
|
|
|
|||
Reference in a new issue