2026-08-14 15:53:30 +02:00
|
|
|
{
|
|
|
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
|
|
|
"$id": "https://railiance.dev/reef-storage/object-store-attributes.schema.json",
|
|
|
|
|
"title": "Non-secret object-store attributes",
|
|
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"required": ["schema_version", "resource_id", "provider", "status"],
|
|
|
|
|
"properties": {
|
|
|
|
|
"schema_version": {"const": "0.1"},
|
|
|
|
|
"resource_id": {"type": "string", "pattern": "^resource:"},
|
|
|
|
|
"provider": {"type": "string", "minLength": 1},
|
2026-08-14 16:18:16 +02:00
|
|
|
"product": {"type": ["string", "null"]},
|
2026-08-14 15:53:30 +02:00
|
|
|
"status": {"enum": ["planned", "active", "retired"]},
|
|
|
|
|
"endpoint": {"type": ["string", "null"]},
|
|
|
|
|
"region": {"type": ["string", "null"]},
|
|
|
|
|
"bucket": {"type": ["string", "null"]},
|
|
|
|
|
"prefix": {"type": ["string", "null"]},
|
|
|
|
|
"versioning": {"type": ["boolean", "null"]},
|
|
|
|
|
"lifecycle": {"type": ["string", "null"]},
|
|
|
|
|
"provider_project_ref": {"type": ["string", "null"]},
|
2026-08-14 16:18:16 +02:00
|
|
|
"intended": {"type": ["object", "null"]},
|
2026-08-14 15:53:30 +02:00
|
|
|
"notes": {"type": "array", "items": {"type": "string"}}
|
|
|
|
|
}
|
|
|
|
|
}
|