Contracts 1.1.0: optional requires on Hub releases

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-04 15:45:40 +02:00
co-authored by Claude Opus 5.5
parent 66b0c9789b
commit 11e28502ea
6 changed files with 77 additions and 2 deletions
@@ -36,6 +36,31 @@
},
"notes": {
"type": "string"
},
"requires": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product": {
"type": "string",
"enum": [
"events",
"website",
"app",
"accounts"
]
},
"version": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+(-[0-9A-Za-z.-]+)?$"
}
},
"required": [
"product",
"version"
]
}
}
},
"required": [
@@ -50,6 +50,31 @@
},
"notes": {
"type": "string"
},
"requires": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product": {
"type": "string",
"enum": [
"events",
"website",
"app",
"accounts"
]
},
"version": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+(-[0-9A-Za-z.-]+)?$"
}
},
"required": [
"product",
"version"
]
}
}
},
"required": [