GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — commitwork/schema/publish-redactions.schema.json at main · Portll/commitwork

Expand file tree

/

publish-redactions.schema.json

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
22 lines (22 loc) · 1.37 KB
/

publish-redactions.schema.json

Copy path

File metadata and controls

22 lines (22 loc) · 1.37 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "schema/publish-redactions.schema.json",
"title": "publish-redactions",
"description": "monitor/publish-redactions.json — the names replaced when a private register is rendered into a public docsite page. Applied on write by bin/taxonomy-web.mjs and bin/taxonomy-render.mjs via lib/publish-redactions.mjs, which validates against THIS schema rather than re-implementing it, so there is one statement of the shape and not two. Keys are matched case-insensitively and longest-first; a key containing whitespace would never match a rendered identifier, so it is refused here rather than silently redacting nothing.",
"type": "object",
"required": ["note", "map"],
"additionalProperties": false,
"properties": {
"note": {
"type": "string",
"minLength": 1,
"description": "Why this file exists and what belongs in it. Required: a redaction map with no rationale is one nobody can audit."
},
"map": {
"type": "object",
"description": "source name -> published replacement. Both sides non-empty: an empty replacement would delete the surrounding sentence's subject and leave prose that reads as though nothing was removed.",
"propertyNames": { "type": "string", "minLength": 1, "pattern": "^\\S+$" },
"additionalProperties": { "type": "string", "minLength": 1 }
}
}
}
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.