Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / OpenSRM
Schema registry

OpenSRM

Open Service Reliability Manifest - Define service reliability requirements as code

service.reliability.yamlservice.reliability.yml*.reliability.yaml*.reliability.yml.opensrm.yaml.opensrm.yml

Check your file against this schema

Opens the validator with this schema already loaded. Paste your service.reliability.yaml and it validates in your browser — nothing is uploaded.

Validate a service.reliability.yaml → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
apiVersionrequiredstringSchema version. Must be srm/v1
kindrequiredstringDocument type
metadatarequiredobjectService identity and classification
metadata.namerequiredstringUnique service identifier (lowercase alphanumeric with hyphens)
metadata.teamrequiredstringOwning team identifier
metadata.tierrequiredstringService criticality tier
one of: "critical", "high", "standard", "low"
metadata.templatestringName of template to inherit from
metadata.descriptionstringHuman-readable description
metadata.labelsobjectKey-value pairs for filtering/grouping
metadata.annotationsobjectArbitrary metadata (not used for selection)
specrequiredobjectReliability requirements
spec.typestringService operational pattern https://github.com/rsionnach/opensrm#service-types
one of: "api", "worker", "stream", "ai-gate", "batch", "database"
spec.slosobjectService Level Objectives
spec.slos.availabilityobjectAvailability SLO - measures proportion of successful requests
spec.slos.latencyobjectLatency SLO - measures response time at specified percentiles
spec.slos.error_rateobjectError rate SLO - measures proportion of failed requests
spec.slos.throughputobjectThroughput SLO - measures request processing rate
spec.slos.processing_timeobjectProcessing time SLO - job completion time for worker services
spec.slos.lagobjectLag SLO - consumer lag for stream services
spec.slos.success_rateobjectSuccess rate SLO - measures proportion of successful operations
spec.slos.durationobjectDuration SLO - job execution time for batch services
spec.slos.schedule_adherenceobjectSchedule adherence SLO - measures timeliness of batch job starts
spec.slos.data_freshnessobjectData freshness SLO - measures staleness of batch output data
spec.slos.query_latencyobjectQuery latency SLO - response time for database services
spec.slos.replication_lagobjectReplication lag SLO for database services
spec.slos.connection_availabilityobjectConnection availability SLO for database services
spec.slos.opensloarray<object>References to external OpenSLO files
spec.slos.customarray<object>Custom SLO types
spec.slos.judgmentobjectJudgment SLOs for AI gate services - measure decision quality https://github.com/rsionnach/opensrm#judgment-slos
spec.contractobjectReliability guarantees promised to dependents https://github.com/rsionnach/opensrm#contracts
spec.contract.availabilitynumberRatio value (0.0 - 1.0)
spec.contract.latencyobjectLatency guarantees in a contract
spec.contract.throughputobjectThroughput guarantees in a contract
spec.contract.judgmentobjectJudgment guarantees in a contract for AI gate services
spec.instrumentationobjectTelemetry configuration for AI gate services
spec.instrumentation.eventsrequiredobjectEvent name mappings
spec.instrumentation.attributesobjectAttribute name mappings
spec.dependenciesarrayUpstream dependencies
spec.ownershipobjectService ownership information
spec.ownership.teamrequiredstringTeam identifier
spec.ownership.slackstringSlack channel for alerts (e.g., '#team-oncall')
spec.ownership.emailstringTeam email address
spec.ownership.escalationstringOn-call rotation or escalation policy name
spec.ownership.pagerdutyobjectPagerDuty integration
spec.ownership.runbookstringURL to operational runbook
spec.ownership.documentationstringURL to service documentation
spec.ownership.oncall_requiredbooleanWhether on-call rotation is required
spec.observabilityobjectObservability requirements
spec.observability.metricsobjectMetric requirements
spec.observability.dashboardsobjectDashboard requirements
spec.observability.alertsobjectAlert requirements
spec.observability.tracingobjectDistributed tracing requirements
spec.deploymentobjectDeployment requirements
spec.deployment.environmentsarray<string>Environments where service is deployed
spec.deployment.gatesobjectDeployment gates
spec.deployment.rollbackobjectRollback configuration
apiVersionrequiredstringSchema version. Must be srm/v1
kindrequiredstringDocument type
metadatarequiredobjectTemplate identity
metadata.namerequiredstringUnique template identifier
metadata.descriptionstringHuman-readable description
specrequiredobjectPartial spec for template inheritance
spec.typestringService operational pattern https://github.com/rsionnach/opensrm#service-types
one of: "api", "worker", "stream", "ai-gate", "batch", "database"
spec.slosobjectService Level Objectives
spec.slos.availabilityobjectAvailability SLO - measures proportion of successful requests
spec.slos.latencyobjectLatency SLO - measures response time at specified percentiles
spec.slos.error_rateobjectError rate SLO - measures proportion of failed requests
spec.slos.throughputobjectThroughput SLO - measures request processing rate
spec.slos.processing_timeobjectProcessing time SLO - job completion time for worker services
spec.slos.lagobjectLag SLO - consumer lag for stream services
spec.slos.success_rateobjectSuccess rate SLO - measures proportion of successful operations
spec.slos.durationobjectDuration SLO - job execution time for batch services
spec.slos.schedule_adherenceobjectSchedule adherence SLO - measures timeliness of batch job starts
spec.slos.data_freshnessobjectData freshness SLO - measures staleness of batch output data
spec.slos.query_latencyobjectQuery latency SLO - response time for database services
spec.slos.replication_lagobjectReplication lag SLO for database services
spec.slos.connection_availabilityobjectConnection availability SLO for database services
spec.slos.opensloarray<object>References to external OpenSLO files
spec.slos.customarray<object>Custom SLO types
spec.slos.judgmentobjectJudgment SLOs for AI gate services - measure decision quality https://github.com/rsionnach/opensrm#judgment-slos
spec.ownershipobjectService ownership information
spec.ownership.teamrequiredstringTeam identifier
spec.ownership.slackstringSlack channel for alerts (e.g., '#team-oncall')
spec.ownership.emailstringTeam email address
spec.ownership.escalationstringOn-call rotation or escalation policy name
spec.ownership.pagerdutyobjectPagerDuty integration
spec.ownership.runbookstringURL to operational runbook
spec.ownership.documentationstringURL to service documentation
spec.ownership.oncall_requiredbooleanWhether on-call rotation is required
spec.instrumentationobjectTelemetry configuration for AI gate services
spec.instrumentation.eventsrequiredobjectEvent name mappings
spec.instrumentation.attributesobjectAttribute name mappings

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$refJSON Schema Core, draft 2020-12§8.2.3.1 — Direct References with "$ref"
additionalPropertiesJSON Schema Core, draft 2020-12§10.3.2.3 — "additionalProperties"
anyOfJSON Schema Core, draft 2020-12§10.2.1.2 — "anyOf"
constJSON Schema Validation, draft 2020-12§6.1.3 — "const"
defaultJSON Schema Validation, draft 2020-12§9.2 — "default"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
enumJSON Schema Validation, draft 2020-12§6.1.2 — "enum"
formatJSON Schema Validation, draft 2020-12§7 — Vocabularies for Semantic Content With "format"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
maximumJSON Schema Validation, draft 2020-12§6.2.2 — "maximum"
minimumJSON Schema Validation, draft 2020-12§6.2.4 — "minimum"
patternJSON Schema Validation, draft 2020-12§6.3.3 — "pattern"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
requiredJSON Schema Validation, draft 2020-12§6.5.3 — "required"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"
format: "uri"RFC 3986 (STD 66)§3 — Syntax Components

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas