{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "urn:awoooi:github-target-probe-v1", "title": "AWOOOI GitHub Target Probe 事件 (v1)", "description": "候選 GitHub repo read-only 存在性探測。此事件只表示未授權 read-only probe 的可見狀態,不授權建立、刪除或同步 repo。", "type": "object", "required": [ "schema_version", "status", "candidate_count", "exists_count", "not_found_or_private_count", "candidates" ], "properties": { "schema_version": { "const": "github_target_probe_v1" }, "status": { "type": "string", "enum": ["ok"] }, "candidate_count": { "type": "integer", "minimum": 0 }, "exists_count": { "type": "integer", "minimum": 0 }, "not_found_or_private_count": { "type": "integer", "minimum": 0 }, "candidates": { "type": "array", "items": { "type": "object", "required": [ "github_repo", "url_redacted", "status", "head_count", "heads", "error_summary" ], "properties": { "github_repo": { "type": "string" }, "url_redacted": { "type": "string" }, "status": { "type": "string", "enum": ["exists", "exists_empty_or_no_heads", "not_found_or_private", "timeout", "error"] }, "head_count": { "type": "integer", "minimum": 0 }, "heads": { "type": "array", "items": { "type": "object", "required": ["name", "sha"], "properties": { "name": { "type": "string" }, "sha": { "type": "string", "pattern": "^[0-9a-fA-F]{7,40}$" } }, "additionalProperties": false } }, "error_summary": { "type": "string" } }, "additionalProperties": false } } }, "additionalProperties": false }