Skip to content

RFC-011: Agentic Context Protocol (ACP) — 8. Schema Validation

AIGP SpecificationRFC-011: Agentic Context Protocol (ACP) › 8. Schema Validation

← 7. Context Assembly for Execution · Section index · 9. Authentication →

8. Schema Validation

Every context payload MUST conform to a declared schema. Schemas are versioned and stored in each provider’s KB.

{
"schema_id": "scim_prj.user_entitlements.v1",
"required_fields": ["ccms_id", "username", "management_state"],
"optional_fields": ["groups", "role_assignments", "sod_violations"],
"field_types": {
"ccms_id": "string",
"username": "string",
"management_state": "enum:MANAGED|DISCOVERED|RETIRED",
"groups": "array:object"
}
}

Validation failures are protocol errors:

{
"error": "SCHEMA_VALIDATION_FAILED",
"provider": "identity-service",
"context_type": "user_entitlements",
"missing_fields": ["management_state"],
"type_mismatches": []
}

← 7. Context Assembly for Execution · Section index · 9. Authentication →