Initial commit
check / check (macos-latest) (push) Canceled after 0s
check / check (ubuntu-latest) (push) Canceled after 0s

This commit is contained in:
alexm committed 2026-10-11 23:45:29 -04:00
commit 62f54ed869
373 files changed
+16704

No files matched your search

+64
View File
@@ -0,0 +1,64 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://scient.ing/ns/schemas/stamps.schema.json",
"title": "Stamp rules",
"description": "scienting-stamps/1: download-stamp line rules for page fingerprints; spec/07-geometry.md.",
"type": "object",
"properties": {
"format": {
"const": "scienting-stamps/1"
},
"id": {
"$ref": "common.schema.json#/$defs/key"
},
"learned": {
"type": "boolean"
},
"note": {
"type": "string",
"minLength": 1
},
"rules": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"$ref": "common.schema.json#/$defs/key"
},
"pattern": {
"type": "string",
"minLength": 1
},
"where": {
"enum": [
"any",
"margin"
]
},
"margin": {
"type": "number",
"exclusiveMinimum": 0
},
"note": {
"type": "string",
"minLength": 1
}
},
"required": [
"id",
"pattern",
"where"
],
"additionalProperties": false
},
"minItems": 1
}
},
"required": [
"format",
"id",
"rules"
],
"additionalProperties": false
}