Resource references¶
Name a runtime resource or a project-local resource with optional content-integrity verification.
Contract version: 1.0.0. Download the full JSON schema.
Use the tables for exact field names, types and constraints. Wide tables scroll horizontally. How to read defaults, units and result states.
For interpretation and examples, read project authoring.
Fields¶
Unknown fields are rejected for this object.
| Field | Type | Required | Default | Constraints / meaning |
|---|---|---|---|---|
expected_sha256 |
string or null | No | null |
anyOf branch 1: pattern: "^[0-9a-f]{64}$"Optional expected content digest; a matching name alone does not establish identical contents. |
project_path |
string or null | No | null |
anyOf branch 1: minLength: 1maxLength: 512Project-relative input location when using local content. Keep the file with the distributed project. |
resource_id |
string or null | No | null |
anyOf branch 1: minLength: 1maxLength: 128pattern: "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$"Named resource supplied by the runtime registry. It is not a filesystem path or an example download. |
Schema integrity¶
Schema SHA-256: 9b622d216b06b7f0d7e653b3c8867ad4baeae4966d1cd111c9c59ef6e03889d7.