diff --git a/config/schemas/field-web-vitals.schema.json b/config/schemas/field-web-vitals.schema.json deleted file mode 100644 index b49b2b87..00000000 --- a/config/schemas/field-web-vitals.schema.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "ART-FE-FIELD-WEB-VITALS@1", - "type": "object", - "required": [ - "schemaVersion", - "generatedAt", - "window", - "context", - "metrics", - "thresholds", - "eligibility", - "status", - "passed" - ], - "properties": { - "schemaVersion": { "const": 1 }, - "generatedAt": { "type": "string", "format": "date-time" }, - "window": { "type": "object", "required": ["days", "start", "end"] }, - "context": { - "type": "object", - "required": [ - "source", - "sourceSystem", - "exportId", - "network", - "routeAggregation", - "releaseId", - "privacyApprovalRef", - "thresholdDecisionRef", - "validationFailures" - ], - "properties": { - "source": { "type": "string" }, - "sourceSystem": { "type": ["string", "null"] }, - "exportId": { "type": ["string", "null"] }, - "network": { "const": "production-real-user" }, - "routeAggregation": { "const": "route-id-only" }, - "releaseId": { "type": ["string", "null"] }, - "privacyApprovalRef": { "type": ["string", "null"] }, - "thresholdDecisionRef": { "type": ["string", "null"] }, - "validationFailures": { - "type": "array", - "items": { "type": "string" } - } - }, - "additionalProperties": false - }, - "thresholds": { - "type": "object", - "required": [ - "p75LcpMs", - "p75Cls", - "p75InpMs", - "minimumEligibleSamples" - ] - }, - "metrics": { - "type": "object", - "required": ["p75LcpMs", "p75Cls", "p75InpMs"] - }, - "eligibility": { - "type": "object", - "required": [ - "consentRequired", - "totalSamples", - "eligibleSamples", - "minimumEligibleSamples", - "routeSamples" - ] - }, - "status": { - "enum": ["PASS", "FAIL_THRESHOLD", "FAIL_UNVERIFIED"] - }, - "passed": { "type": "boolean" } - }, - "additionalProperties": false -} diff --git a/config/schemas/lab-performance.schema.json b/config/schemas/lab-performance.schema.json deleted file mode 100644 index 7d0297f0..00000000 --- a/config/schemas/lab-performance.schema.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "ART-FE-LAB@1", - "type": "object", - "required": [ - "schemaVersion", - "generatedAt", - "context", - "metrics", - "thresholds", - "fixtures", - "passed" - ], - "properties": { - "schemaVersion": { "const": 1 }, - "generatedAt": { "type": "string", "format": "date-time" }, - "context": { - "type": "object", - "required": ["runner", "browser", "viewport", "network", "cpu", "cache", "build"] - }, - "metrics": { - "type": "object", - "required": ["lcpMs", "cls", "namedInteractionMs", "targetDeepLinkCls", "featureRouteInteractionMs"] - }, - "thresholds": { "type": "object" }, - "fixtures": { "type": "array", "minItems": 2 }, - "passed": { "type": "boolean" } - }, - "additionalProperties": false -} diff --git a/config/schemas/release-verification.schema.json b/config/schemas/release-verification.schema.json deleted file mode 100644 index 29e5ff78..00000000 --- a/config/schemas/release-verification.schema.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "ART-FE-003@1", - "type": "object", - "required": ["schemaVersion", "generatedAt", "artifact", "fixtures", "passed"], - "properties": { - "schemaVersion": { "const": 1 }, - "generatedAt": { "type": "string", "format": "date-time" }, - "artifact": { - "type": "object", - "required": ["checked", "compatible", "mismatches"] - }, - "fixtures": { "type": "array", "minItems": 2 }, - "passed": { "type": "boolean" } - }, - "additionalProperties": false -} diff --git a/config/schemas/runbook-drill-record.schema.json b/config/schemas/runbook-drill-record.schema.json deleted file mode 100644 index 9affe249..00000000 --- a/config/schemas/runbook-drill-record.schema.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "ART-FE-RUNBOOK-DRILL@2", - "type": "object", - "required": [ - "schemaVersion", - "runbookId", - "releaseId", - "drillTimestamp", - "triggerInjected", - "triggerAsserted", - "containmentAsserted", - "escalationPathAsserted", - "recoveryAssertions", - "negativeFixtureFailedAsExpected", - "windowObservedBucket", - "providerVerificationRequired", - "result" - ], - "$defs": { - "verdict": { "enum": ["PASS", "FAIL", "UNVERIFIED"] } - }, - "properties": { - "schemaVersion": { "const": 2 }, - "runbookId": { "pattern": "^FE-RB-00[1-5]$" }, - "releaseId": { "type": "string", "minLength": 1 }, - "drillTimestamp": { "type": "string", "format": "date-time" }, - "triggerInjected": { "type": "string" }, - "triggerAsserted": { "$ref": "#/$defs/verdict" }, - "containmentAsserted": { "$ref": "#/$defs/verdict" }, - "escalationPathAsserted": { "$ref": "#/$defs/verdict" }, - "recoveryAssertions": { - "type": "array", - "minItems": 4, - "items": { - "type": "object", - "required": ["assertion", "evidence", "result"], - "properties": { - "assertion": { "type": "string", "minLength": 1 }, - "evidence": { "type": "string", "minLength": 1 }, - "result": { "$ref": "#/$defs/verdict" } - }, - "additionalProperties": false - } - }, - "negativeFixtureFailedAsExpected": { "$ref": "#/$defs/verdict" }, - "windowObservedBucket": { "type": "string" }, - "providerVerificationRequired": { "type": "boolean" }, - "result": { "$ref": "#/$defs/verdict" } - }, - "additionalProperties": false -}