Identifies the .usim scenario document used by all consumers.
- Required when the containing object is present.
Start here
Five domains describe one portable simulation.
A scenario document identifies patients, observations, resources, and behavior.
Scenario standard · Execution capabilities
"usim-scenario"
Required
Identifies the .usim scenario document used by all consumers.
"2.0"
Required
Identifies the document format used for validation.
object
Optional; omitted means unspecified
Declares required and optional execution capabilities. Consumers also inspect populated behavioral fields before running a document.
object
Optional; omitted means unspecified
Namespaced vendor or profile additions. The namespace is the lookup key; version and required status determine whether a consumer can safely ignore, preserve, or reject the extension.
object
Optional; omitted means unspecified
Pins the concept, value-type, unit, or dimensional definitions used by the document. Definitions must be bundled or resolved by a trusted profile; execution never fetches an untrusted URL.
string
Required
Stable content identity. Publication revisions and delivery instances remain separate records.
object[]
Required
The fictional patient's presentation, history, examination, and starting observations.
object[]
Optional; omitted means unspecified
Authored symptoms, findings, and measurements with provenance, visibility, and availability.
object[]
Optional; omitted means unspecified
Named, bounded predicates referenced by actions, states, and cues.
object[]
Optional; omitted means unspecified
Named reusable effects that change scenario state or disclosure.
object[]
Optional; omitted means unspecified
Portable media manifest referenced by diagnostics and role outputs.
Shared format conventions · All format elements · Download specification
| Layer | Examples | Owner |
|---|---|---|
| Scenario content | Patient, environment, objectives, states, actions, objects | .usim foundation |
| Authoring records | Draft identity, graph coordinates, comments | Builder |
| Distribution records | Listings, licenses, import receipts | Marketplace |
| Delivery records | Bookings, room assignments, readiness | Center |
| Learning records | Runs, reflections, achievements, classroom membership | Campus |
Identifies the .usim scenario document used by all consumers.
Identifies the document format used for validation.
Stable content identity. Publication revisions and delivery instances remain separate records.
Declares required and optional execution capabilities. Consumers also inspect populated behavioral fields before running a document.
Stable identifier for this entry. Keep it unchanged when editing its content.
The version for this entry. Omit optional information that has not been specified.
Entries for required capabilities. An empty list means no entries have been authored.
The required capabilities for this entry. Omit optional information that has not been specified.
Entries for optional capabilities. An empty list means no entries have been authored.
The optional capabilities for this entry. Omit optional information that has not been specified.
Namespaced vendor or profile additions. The namespace is the lookup key; version and required status determine whether a consumer can safely ignore, preserve, or reject the extension.
Entries for vocabularies. An empty list means no entries have been authored.
Pins the concept, value-type, unit, or dimensional definitions used by the document. Definitions must be bundled or resolved by a trusted profile; execution never fetches an untrusted URL.
Stable identifier for this entry. Keep it unchanged when editing its content.
The version for this entry. Omit optional information that has not been specified.
Select one of the declared kind alternatives; use the fields belonging to that alternative.
Allowed values
The sha256 for this entry. Omit optional information that has not been specified.
Identifier of an existing assets entry. Preserve the referenced entry when editing this field.
Entries for dependencies. An empty list means no entries have been authored.
Pinned library content; digest is 64 lowercase hex characters. Floating latest dependencies are prohibited.
Stable identifier for this entry. Keep it unchanged when editing its content.
The Identifier for this entry. Omit optional information that has not been specified.
Numeric revision, at least 1. Do not infer an omitted value.
The sha256 for this entry. Omit optional information that has not been specified.
Structured composition details. Omitted optional values remain unspecified.
Entries for overrides. An empty list means no entries have been authored.
Explicit overrides against a resolved dependency. Paths must exist; object/array values replace in full. No inferred deep merge.
The Identifier for this entry. Omit optional information that has not been specified.
The path for this entry. Omit optional information that has not been specified.
Select one of the declared value alternatives; use the fields belonging to that alternative.
Structured outputs details. Omitted optional values remain unspecified.
Entries for views. An empty list means no entries have been authored.
Explicit content selection filtered by audience. Learner views exclude facilitator-only content even when named in includeIds.
Stable identifier for this entry. Keep it unchanged when editing its content.
Select one of the declared Audience alternatives; use the fields belonging to that alternative.
Allowed values
Select one of the declared kind alternatives; use the fields belonging to that alternative.
Allowed values
Entries for include ids. An empty list means no entries have been authored.
Identifier of an existing * entry. Preserve the referenced entry when editing this field.
The fictional patient's presentation, history, examination, and starting observations.
One fictional patient and their authored presentation, history, examination, and observations.
Stable patient identifier used by observations, actions, and other scenario references.
The fictional patient's display name.
Entries for Structured system references. An empty list means no entries have been authored.
Groups symptom observations by authored system heading without duplicating their values.
The System for this entry. Omit optional information that has not been specified.
Entries for Observation ids. An empty list means no entries have been authored.
Identifier of an existing observations entry. Preserve the referenced entry when editing this field.
Non-natural airway requires a device reference; presence does not imply correct placement or function.
The required literal value "natural".
Identifier of an existing resources entry. Preserve the referenced entry when editing this field.
The patient's opening situation and the context available at the start of the scenario.
An optional embedded patient photo that travels with the scenario. Upload a PNG, JPEG, or WebP image.
The patient photo encoded as a data URL. Use the photo upload control to populate it.
Describe the patient's appearance for readers who cannot see the photo.
Portable media manifest referenced by diagnostics and role outputs.
Select one of the declared assets alternatives; use the fields belonging to that alternative.
Stable asset reference used by results and outputs.
Declared content type must match decoded asset type; unsupported active content is rejected.
Accessible description of the learner-visible content without hidden diagnostic explanation.
Reuse terms for this asset, with attribution in a separate field.
Creator and source credit.
The label for this entry. Omit optional information that has not been specified.
Packaged accessible transcript; role filtering matches the original media.
Path under assets/ within the package. Reject absolute paths, .. segments, symlinks, duplicate paths, and external fetches.
Digest verified against bytes before use; integrity does not prove safety or authorship.
The data url for this entry. Omit optional information that has not been specified.
The uri for this entry. Omit optional information that has not been specified.
Authored symptoms, findings, and measurements with provenance, visibility, and availability.
Select one of the declared observations alternatives; use the fields belonging to that alternative.
Stable finding or measurement identity; a repeat collection creates a new observation ID.
Patient to whom the observation belongs.
Namespaced concept, such as usim:general-appearance; codes do not imply external terminology certification.
Separates reported experience, observed findings, and measured values.
Allowed values
Time of authored assessment or acquisition, possibly before baseline.
Earliest simulated time for release; disclosure conditions must also be satisfied.
Method, location, or equipment used to obtain the finding.
Select one of the declared Disclosure alternatives; use the fields belonging to that alternative.
Authorized output audiences. UI hints do not replace output filtering.
Select one of the declared Audience alternatives; use the fields belonging to that alternative.
Allowed values
Initial reveals at baseline; other modes require an action, condition, or facilitator release.
Allowed values
Identifier of an existing resources entry. Preserve the referenced entry when editing this field.
Successful completion of this action reveals the entry.
Reveal when the condition first becomes true; reject unrelated trigger fields.
Identifies the patient actor, relative, or colleague supplying the history.
Facilitator context on conflicting or incomplete history; visibility follows the observation's disclosure policy.
On collection, snapshot this variable's current value into a new measurement; later trends do not rewrite past results.
At least one bound or text description; numeric bounds require the observation's unit and low must not exceed high. Context describes the authored population/method.
Numeric low. Do not infer an omitted value.
Numeric high. Do not infer an omitted value.
The text for this entry. Omit optional information that has not been specified.
The unit for this entry. Omit optional information that has not been specified.
The context for this entry. Omit optional information that has not been specified.
Explicit authored flag, never inferred from a generic source default.
Allowed values
Known requires a value. Other statuses prohibit a value rather than using zero or an empty string as a sentinel.
Type must match the registered concept. Qualitative findings can be text or explicit booleans.
Fixed by the concept definition; no inferred conversions.
The patient phases, transitions, and requestable resources that define how the scenario progresses.
Entries for flags. An empty list means no entries have been authored.
Concurrent facts such as ownership-agreed; flags coexist independently of the single active phase.
Stable identifier for this entry. Keep it unchanged when editing its content.
Whether initial value applies. Omitted optional values remain unspecified.
Named, bounded predicates referenced by actions, states, and cues.
All predicates must be true; empty all is explicitly true. No recursive or executable expression text.
Stable identifier for this entry. Keep it unchanged when editing its content.
Entries for all. An empty list means no entries have been authored.
Operand types must match the target. Boolean flags support only eq/ne; numeric comparisons use the variable's declared unit.
The Identifier for this entry. Omit optional information that has not been specified.
Select one of the declared operator alternatives; use the fields belonging to that alternative.
Allowed values
Numeric value. Do not infer an omitted value.
Action completes through AI interpretation of learner intent against its completion criterion, configured resource interactions, or explicit learner/facilitator confirmation. Scheduled runs once after its delay from the first source-state entry, remaining pending across later states unless canceled or the scenario concludes. Omitted means action.
Select one of the declared schedules alternatives; use the fields belonging to that alternative.
Named event allows explicit cancellation.
The label for this entry. Omit optional information that has not been specified.
The description for this entry. Omit optional information that has not been specified.
Identifier of an existing resources entry. Preserve the referenced entry when editing this field.
For a scheduled transition, completion of any selected action cancels this timer for the rest of the run, including after state re-entry. The action may stay in its current state. Selected unfinished actions stay available while this timer is pending once their source event has occurred, even after another event becomes current. Future-source actions remain unavailable. Completing the action enters its destination; a self-loop stays in the current event. Conclusion states do not allow recovery. Cancellation does not undo a deterioration that already occurred. The timer starts when the source event first occurs and remains pending when other events occur. Ending the scenario cancels pending timers.
A learner action whose completion prevents this scheduled transition from firing.
Simulated seconds after the declared schedule anchor. State-entry schedules follow onAnchorStateExit and cancellation references; action timing is separate.
Evaluate when due. False skips that occurrence; it does not poll until true.
Explicit ordering for simultaneous events. Equal priority uses schedule ID lexical order.
Operations applied atomically if the due event and transition guards are valid.
Identifier of an existing events.effects entry. Preserve the referenced entry when editing this field.
Optional phase transition; omit for a result or actor cue that does not move the main phase.
Count includes the initial occurrence. Finite repetition prevents unbounded schedules.
Numeric interval seconds. Do not infer an omitted value.
Numeric count, at least 1. Do not infer an omitted value.
State/action anchors require the corresponding ID. Scenario-start prohibits refId.
The required literal value "scenario-start".
Cancel removes pending occurrences from that entry; re-entry creates a new schedule instance.
Allowed values
Named reusable effects that change scenario state or disclosure.
One typed effect with a stable identifier and explicit target.
Stable effect identifier referenced by states, actions, or schedules.
The operation performed by this effect.
The identifier of the variable or other entity changed by this effect.
The resulting value, expressed in the target variable’s declared unit.
The target variable’s declared unit; effects cannot silently convert units.
Duration of a linear authored change from current value to target. Instant changes use set-variable.
The format supports one explicit interpolation rule; no inferred dose-response or disease model.
Numeric percent, at least -100, at most 1000. Do not infer an omitted value.
Identifier of an existing patients entry. Preserve the referenced entry when editing this field.
The model id for this entry. Omit optional information that has not been specified.
Select one of the declared channel alternatives; use the fields belonging to that alternative.
Allowed values