Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions public/_headers
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@
Access-Control-Allow-Origin: *
Cache-Control: public, max-age=86400

/schemas/evidence/store-provision/store-provision.v1alpha1.schema.json
Content-Type: application/schema+json; charset=utf-8
Access-Control-Allow-Origin: *
Cache-Control: public, max-age=86400

/schemas/evidence/target-authority/target-authority.v1alpha1.schema.json
Content-Type: application/schema+json; charset=utf-8
Access-Control-Allow-Origin: *
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
{
"$defs": {
"ActorKind": {
"description": "The kind of principal a token represents, as `registry_actor_kind`\ncarries it.",
"enum": [
"human",
"agent",
"service"
],
"type": "string"
},
"LocalId": {
"description": "A local identifier: a lowercase letter, then up to 63 lowercase letters, digits, `_`, or `-`.",
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
"type": "string"
},
"ManifestReference": {
"additionalProperties": false,
"properties": {
"manifest": {
"description": "Path to the publication manifest, relative to this service file.",
"type": "string"
},
"publicService": {
"$ref": "#/$defs/LocalId",
"description": "Identifier of the public service in the manifest."
}
},
"required": [
"manifest",
"publicService"
],
"type": "object"
},
"NamedProjects": {
"additionalProperties": false,
"properties": {
"projects": {
"additionalProperties": {
"$ref": "#/$defs/ProjectReference"
},
"description": "Projects keyed by project ID. In a service, BReg IDs form the generated client member names.",
"minProperties": 1,
"propertyNames": {
"$ref": "#/$defs/LocalId"
},
"type": "object"
}
},
"required": [
"projects"
],
"type": "object"
},
"ProductReferences": {
"additionalProperties": false,
"minProperties": 1,
"properties": {
"adapter": {
"$ref": "#/$defs/ProjectReference"
},
"breg": {
"$ref": "#/$defs/NamedProjects"
},
"casework": {
"$ref": "#/$defs/ProjectReference"
},
"coordinator": {
"$ref": "#/$defs/NamedProjects"
},
"discovery": {
"$ref": "#/$defs/ProjectReference"
},
"documents": {
"$ref": "#/$defs/ProjectReference"
},
"evidence": {
"$ref": "#/$defs/NamedProjects"
},
"messaging": {
"$ref": "#/$defs/ProjectReference"
},
"render": {
"$ref": "#/$defs/ProjectReference"
},
"scheduling": {
"$ref": "#/$defs/ProjectReference"
}
},
"type": "object"
},
"ProjectReference": {
"additionalProperties": false,
"properties": {
"path": {
"description": "Directory containing the product's native project file, relative to the file that declares it.",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"ServiceRole": {
"additionalProperties": false,
"properties": {
"accessProfiles": {
"additionalProperties": {
"items": {
"$ref": "#/$defs/LocalId"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"minProperties": 1,
"propertyNames": {
"$ref": "#/$defs/LocalId"
},
"type": "object"
},
"actorKind": {
"$ref": "#/$defs/ActorKind"
},
"claims": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"actorKind",
"accessProfiles"
],
"type": "object"
},
"UiReference": {
"additionalProperties": false,
"properties": {
"output": {
"description": "Build output directory relative to the frontend project, such as `dist`.",
"type": "string"
},
"project": {
"description": "Directory containing the frontend project, relative to this service file.",
"type": "string"
}
},
"required": [
"project",
"output"
],
"type": "object"
}
},
"$id": "https://id.registrystack.org/schemas/rstack/service/service.v1alpha1.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"apiVersion": {
"const": "id.registrystack.org/formats/rstack/service/v1alpha1",
"description": "The format and version this file is written in.",
"type": "string"
},
"functions": {
"default": [],
"description": "Function IDs. A function named `renew` points to `functions/renew/index.ts`.",
"items": {
"$ref": "#/$defs/LocalId"
},
"type": "array",
"uniqueItems": true
},
"kind": {
"const": "RStackService",
"description": "The kind of document this file is.",
"type": "string"
},
"products": {
"$ref": "#/$defs/ProductReferences",
"description": "Native product projects assembled by this service."
},
"roles": {
"additionalProperties": {
"$ref": "#/$defs/ServiceRole"
},
"description": "Service role declarations shared with the identity deployment checker.",
"minProperties": 1,
"propertyNames": {
"$ref": "#/$defs/LocalId"
},
"type": "object"
},
"service": {
"$ref": "#/$defs/ManifestReference",
"description": "Publication manifest and the public service it describes."
},
"session": {
"description": "Path to the Session configuration, relative to this service file.",
"type": "string"
},
"ui": {
"$ref": "#/$defs/UiReference",
"description": "Frontend project and its build output directory."
}
},
"required": [
"apiVersion",
"kind"
],
"title": "Registry Stack service",
"type": "object"
}
Loading