{ "$id": "0pt.source_rate_policy.schema.v1", "type": "object", "required": [ "source_rate_policy_id", "tenant_id", "project_id", "source_id", "rate_limit_per_minute", "crawl_budget", "status", "created_at" ], "properties": { "source_rate_policy_id": { "type": "string" }, "tenant_id": { "type": "string" }, "project_id": { "type": "string" }, "source_id": { "type": "string", "description": "References 0pt.source.schema.v1's source_id." }, "rate_limit_per_minute": { "type": "number" }, "crawl_budget": { "type": "number", "description": "Max requests/pages/records this policy permits per crawl run or per day; unit documented in compliance_notes when non-obvious." }, "compliance_notes": { "type": "string" }, "domain": { "type": "string", "description": "Crawl-target domain, e.g. allabolag.se." }, "robots_ok": { "type": "boolean" }, "access": { "type": "string", "enum": ["api", "bulk", "authorized_web", "licensed"] }, "status": { "type": "string", "enum": ["active", "paused", "deprecated"] }, "correlation_id": { "type": "string" }, "created_at": { "type": "string" }, "updated_at": { "type": "string" }, "created_by": { "type": "string" } } }