GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — commitwork/schema/publish-redactions.schema.json at main · Portll/commitwork Expand file tree/ Copy pathpublish-redactions.schema.jsonMore file actions 22 lines (22 loc) · 1.37 KB / Copy pathpublish-redactions.schema.jsonFile metadata and controls22 lines (22 loc) · 1.37 KB 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. |