$schema: "https://json-schema.org/draft/2020-12/schema" $id: "https://railiance.local/fabric/schemas/rescan-run-report.schema.yaml" title: "FabricDiscoveryRescanReport" type: object additionalProperties: true required: - apiVersion - kind - manifest - generated_at - profile - dry_run - ingest - accept - repositories - counts properties: apiVersion: $ref: "./common.schema.yaml#/$defs/apiVersion" kind: type: string const: FabricDiscoveryRescanReport manifest: type: string minLength: 1 registry_url: type: string generated_at: type: string format: date-time profile: type: string minLength: 1 dry_run: type: boolean ingest: type: boolean accept: type: boolean allowlist: type: array items: type: string previous_source: type: string enum: - dir - registry - none cache: type: object additionalProperties: true scanner: type: object additionalProperties: true llm: type: object additionalProperties: true repositories: type: array items: type: object additionalProperties: true required: - slug - status - scanned - ingested - accepted properties: slug: type: string minLength: 1 status: type: string scanned: type: boolean ingested: type: boolean accepted: type: boolean change_state: type: string enum: - unknown - baseline - unchanged - changed previous: type: object additionalProperties: true candidate_counts: $ref: "#/$defs/counts" diff_counts: $ref: "#/$defs/diffCounts" counts: type: object additionalProperties: true required: - total - scanned - baseline - unchanged - changed - review_required - errors properties: total: type: integer minimum: 0 scanned: type: integer minimum: 0 baseline: type: integer minimum: 0 unchanged: type: integer minimum: 0 changed: type: integer minimum: 0 review_required: type: integer minimum: 0 errors: type: integer minimum: 0 $defs: counts: type: object additionalProperties: true properties: nodes: type: integer minimum: 0 edges: type: integer minimum: 0 attributes: type: integer minimum: 0 diffCounts: type: object additionalProperties: true properties: added: type: integer minimum: 0 changed: type: integer minimum: 0 retired: type: integer minimum: 0 conflicted: type: integer minimum: 0