[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/loobin-1.0.json","additionalProperties":false,"definitions":{"ExampleUseCase":{"title":"ExampleUseCase","description":"Use case base class","type":"object","properties":{"name":{"title":"Name","type":"string"},"description":{"title":"Description","type":"string"},"code":{"title":"Code","type":"string"},"tactics":{"title":"Tactics","type":"array","items":{"enum":["Reconnaissance","Resource Development","Initial Access","Execution","Persistence","Privilege Escalation","Defense Evasion","Credential Access","Discovery","Lateral Movement","Collection","Exfiltration","Command and Control","Impact"],"type":"string"}},"tags":{"title":"Tags","type":"array","items":{"type":"string"}}},"required":["name","description"]},"Detection":{"title":"Detection","description":"Detection base class","type":"object","properties":{"name":{"title":"Name","type":"string"},"url":{"title":"Url","type":"string"}},"required":["name","url"]},"Resource":{"title":"Resource","description":"External reference base class","type":"object","properties":{"name":{"title":"Name","type":"string"},"url":{"title":"Url","type":"string"}},"required":["name","url"]}},"description":"LOOBin base class","properties":{"name":{"title":"Name","description":"Name of the LOOBin","type":"string"},"author":{"title":"Author","description":"Author of the LOOBin","type":"string"},"short_description":{"title":"Short Description","description":"A short description of the LOOBin.This will display in the LOOBin card list and the LOOBins website search results.","type":"string"},"full_description":{"title":"Full Description","description":"A full description of the LOOBin.This will display on the LOOBin's single page.","type":"string"},"created":{"title":"Created","description":"Date the LOOBin was created","type":"string","format":"date"},"example_use_cases":{"title":"Example Use Cases","description":"A list of example use cases for the LOOBin","type":"array","items":{"$ref":"#/definitions/ExampleUseCase"}},"paths":{"title":"Paths","description":"A list of paths to the LOOBin","type":"array","items":{"type":"string"}},"detections":{"title":"Detections","description":"A list of detections for the LOOBin","type":"array","items":{"$ref":"#/definitions/Detection"}},"resources":{"title":"Resource","description":"A list of useful resources for the LOOBin","type":"array","items":{"$ref":"#/definitions/Resource"}},"acknowledgements":{"title":"Acknowledgements","description":"Acknowledgements for the LOOBin","type":"array","items":{"type":"string"}}},"required":["name","author","short_description","full_description","created","example_use_cases","paths","detections"],"title":"LOOBin","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "LOOBin". Here are the required top‑level fields: name, author, short_description, full_description, created, example_use_cases, paths, detections. Return only the valid JSON object.

ExampleUseCase

Use case base class

Name

Description

Code

Tactics

Reconnaissance
Resource Development
Initial Access
Execution
Persistence
Privilege Escalation
Defense Evasion
Credential Access
Discovery
Lateral Movement
Collection
Exfiltration
Command and Control
Impact

Tags

Detection

Detection base class

Name

Url

Resource

External reference base class

Name

Url

LOOBin base class

Name

Name of the LOOBin

Author

Author of the LOOBin

Short Description

A short description of the LOOBin.This will display in the LOOBin card list and the LOOBins website search results.

Full Description

A full description of the LOOBin.This will display on the LOOBin's single page.

Created

Date the LOOBin was created

Example Use Cases

A list of example use cases for the LOOBin

Paths

A list of paths to the LOOBin

Detections

A list of detections for the LOOBin

Resource

A list of useful resources for the LOOBin

Acknowledgements

Acknowledgements for the LOOBin

LOOBin

Provide a JSON object that satisfies the schema "LOOBin". Here are the required top‑level fields: name, author, short_description, full_description, created, example_use_cases, paths, detections. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/grnhse/lotus/pkg/types/lotus-manifest","$ref":"#/$defs/LotusManifest","$defs":{"Autoscaling":{"properties":{"metrics":{"items":{"$ref":"#/$defs/AutoscalingMetrics"},"type":"array"}},"additionalProperties":false,"type":"object","required":["metrics"]},"AutoscalingMetrics":{"properties":{"name":{"type":"string"},"query":{"type":"string"},"average_value":{"type":"integer"}},"additionalProperties":false,"type":"object","required":["name","query","average_value"]},"ClientOf":{"properties":{"name":{"type":"string"},"type":{"type":"string"},"application":{"type":"string"}},"additionalProperties":false,"type":"object","required":["name","type"]},"Component":{"properties":{"livenessProbe":{"$ref":"#/$defs/Probe","description":"Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"},"readinessProbe":{"$ref":"#/$defs/Probe","description":"Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"},"name":{"type":"string","maxLength":45,"pattern":"^[a-z][a-z\\d-\\.]*[a-z\\d]$","description":"Unique name for the component. It must be DNS-friendly"},"progressDeadlineSeconds":{"type":"integer","description":"Used for deployments that need longer than the default 5 minutes to start up"},"type":{"type":"string","enum":["http","worker","predeploy","postdeploy","grpc-sso-proxy","cron"],"description":"The type of component."},"service_name":{"type":"string","description":"The service name is only useful for grpc-sso-proxy components. If present,\na health service will be spun up for the service name, and it can be\npossible to perform auto updates of binaries."},"command":{"type":"string","description":"Command describes how to run the workload"},"rollingUpdate":{"$ref":"#/$defs/RollingUpdateDeployment"},"sso_proxy":{"$ref":"#/$defs/SSOProxy","description":"SSO Proxy settings for http components (grpc-sso-proxy has it enabled by default)"},"autoscaling":{"$ref":"#/$defs/Autoscaling","description":"Autoscaling settings for components of type http, grpc-sso-proxy or worker"},"expose_metrics":{"$ref":"#/$defs/ExposeMetrics","description":"ExposeMetrics for components of type http"}},"additionalProperties":false,"type":"object","required":["name","type","command"]},"Datastore":{"properties":{"name":{"type":"string","maxLength":24,"pattern":"^[a-z][a-z\\d-\\.]*[a-z\\d]$"},"type":{"type":"string"},"className":{"type":"string"},"disableFirewallRules":{"type":"boolean"},"postgresOptions":{"type":"object"},"elasticsearchOptions":{"type":"object"},"kafkaOptions":{"type":"object"},"kafkaClientOptions":{"type":"object"},"kafkaConnectorOptions":{"type":"object"},"opensearchOptions":{"type":"object"},"allowedClientApplications":{"items":{"type":"string"},"type":"array","description":"apps that will connect to the datastores for this app"},"clientOf":{"$ref":"#/$defs/ClientOf","description":"datastores that connect to other ones need to pass in the reference claim here"}},"additionalProperties":false,"type":"object","required":["name","type"]},"ExecAction":{"properties":{"command":{"items":{"type":"string"},"type":"array"}},"additionalProperties":false,"type":"object"},"ExposeMetrics":{"properties":{"enabled":{"type":"boolean"}},"additionalProperties":false,"type":"object","required":["enabled"]},"GRPCAction":{"properties":{"port":{"type":"integer"},"service":{"type":"string"}},"additionalProperties":false,"type":"object","required":["port","service"]},"HTTPGetAction":{"properties":{"path":{"type":"string"},"port":{"$ref":"#/$defs/IntOrString"},"host":{"type":"string"},"scheme":{"type":"string"},"httpHeaders":{"items":{"$ref":"#/$defs/HTTPHeader"},"type":"array"}},"additionalProperties":false,"type":"object","required":["port"]},"HTTPHeader":{"properties":{"name":{"type":"string"},"value":{"type":"string"}},"additionalProperties":false,"type":"object","required":["name","value"]},"IntOrString":{"properties":{"Type":{"type":"integer"},"IntVal":{"type":"integer"},"StrVal":{"type":"string"}},"additionalProperties":false,"type":"object","required":["Type","IntVal","StrVal"]},"LotusManifest":{"properties":{"name":{"type":"string","maxLength":45,"pattern":"^[a-z][a-z\\d-\\.]*[a-z\\d]$","title":"application name","description":"The application name should match the repository's"},"components":{"items":{"$ref":"#/$defs/Component"},"type":"array","description":"Workloads to run"},"auth_tokens":{"items":{"type":"string"},"type":"array","description":"Tokens minted to securely interact with other applications"},"firewall_rules":{"items":{"type":"string"},"type":"array","description":"Named egress rules"},"datastores":{"items":{"$ref":"#/$defs/Datastore"},"type":"array","description":"List of datastores to provision"}},"additionalProperties":false,"type":"object","required":["name","components"]},"Probe":{"properties":{"exec":{"$ref":"#/$defs/ExecAction"},"httpGet":{"$ref":"#/$defs/HTTPGetAction"},"tcpSocket":{"$ref":"#/$defs/TCPSocketAction"},"grpc":{"$ref":"#/$defs/GRPCAction"},"initialDelaySeconds":{"type":"integer"},"timeoutSeconds":{"type":"integer"},"periodSeconds":{"type":"integer"},"successThreshold":{"type":"integer"},"failureThreshold":{"type":"integer"},"terminationGracePeriodSeconds":{"type":"integer"}},"additionalProperties":false,"type":"object"},"RollingUpdateDeployment":{"properties":{"maxUnavailable":{"$ref":"#/$defs/IntOrString"},"maxSurge":{"$ref":"#/$defs/IntOrString"}},"additionalProperties":false,"type":"object"},"SSOProxy":{"properties":{"enabled":{"type":"boolean"},"pass_auth_header":{"type":"boolean","description":"pass OIDC IDToken to upstream via Authorization Bearer header"},"allow_bearer_auth":{"type":"boolean","description":"skip requests that have verified JWT bearer tokens"},"skip_auth":{"items":{"type":"string"},"type":"array","description":"bypass authentication for requests that match the method & path. Format: method=path_regex OR path_regex alone for all methods"}},"additionalProperties":false,"type":"object"},"TCPSocketAction":{"properties":{"port":{"$ref":"#/$defs/IntOrString"},"host":{"type":"string"}},"additionalProperties":false,"type":"object","required":["port"]}}}
</schema>

[User] Provide a JSON object that satisfies the schema "lotus.yaml". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

Periodic probe of container liveness.
Container will be restarted if the probe fails.
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Periodic probe of container service readiness.
Container will be removed from service endpoints if the probe fails.
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Unique name for the component. It must be DNS-friendly

Used for deployments that need longer than the default 5 minutes to start up

http worker predeploy postdeploy grpc-sso-proxy cron

The type of component.

The service name is only useful for grpc-sso-proxy components. If present,
a health service will be spun up for the service name, and it can be
possible to perform auto updates of binaries.

Command describes how to run the workload

SSO Proxy settings for http components (grpc-sso-proxy has it enabled by default)

Autoscaling settings for components of type http, grpc-sso-proxy or worker

ExposeMetrics for components of type http

apps that will connect to the datastores for this app

datastores that connect to other ones need to pass in the reference claim here

application name

The application name should match the repository's

Workloads to run

Tokens minted to securely interact with other applications

Named egress rules

List of datastores to provision

pass OIDC IDToken to upstream via Authorization Bearer header

skip requests that have verified JWT bearer tokens

bypass authentication for requests that match the method & path. Format: method=path_regex OR path_regex alone for all methods

Provide a JSON object that satisfies the schema "lotus.yaml". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/lsdlschema.json","title":"LSDL Schema","description":"Linguistic Schema Definition Language schema","anyOf":[{"$ref":"https://json.schemastore.org/lsdlschema-4.1.json"},{"$ref":"https://json.schemastore.org/lsdlschema-4.0.json"},{"$ref":"https://json.schemastore.org/lsdlschema-3.5.json"},{"$ref":"https://json.schemastore.org/lsdlschema-3.4.json"},{"$ref":"https://json.schemastore.org/lsdlschema-3.3.json"},{"$ref":"https://json.schemastore.org/lsdlschema-3.2.json"},{"$ref":"https://json.schemastore.org/lsdlschema-3.1.json"},{"$ref":"https://json.schemastore.org/lsdlschema-3.0.json"},{"$ref":"https://json.schemastore.org/lsdlschema-2.0.json"},{"$ref":"https://json.schemastore.org/lsdlschema-1.2.json"},{"$ref":"https://json.schemastore.org/lsdlschema-1.0.json"},{"$ref":"https://json.schemastore.org/lsdlschema-0.7.json"}]}
</schema>

[User] Provide a JSON object that satisfies the schema "LSDL Schema". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

LSDL Schema

Linguistic Schema Definition Language schema

Provide a JSON object that satisfies the schema "LSDL Schema". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[User] Provide a JSON object that satisfies the schema "luaurc". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

Provide a JSON object that satisfies the schema "luaurc". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[User] Provide a JSON object that satisfies the schema "machine.schema". Here are the required top‑level fields: id, key, type, states. Return only the valid JSON object.

The action type

The description of the state node, in Markdown

ID

Provide a JSON object that satisfies the schema "machine.schema". Here are the required top‑level fields: id, key, type, states. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema","title":"settings","description":"Settings for madness server\nhttps://madness.dannyb.co/#configuration-file","type":"object","properties":{"path":{"title":"path","description":"Path to the documentation root\nhttps://madness.dannyb.co/#configuration-file","type":"string","minLength":1,"default":"."},"port":{"title":"port","description":"Server port\nhttps://madness.dannyb.co/#configuration-file","type":"integer","minimum":0,"default":"3000"},"bind":{"title":"bind","description":"Server listening address\nhttps://madness.dannyb.co/#configuration-file","type":"string","pattern":"^\\d+\\.\\d+\\.\\d+\\.\\d+$","default":"0.0.0.0"},"renderer":{"title":"renderer","description":"The underlying markdown renderer to use\nhttps://madness.dannyb.co/#configuration-file","type":"string","enum":["redcarpet","pandoc"],"default":"redcarpet"},"base_uri":{"title":"base uri","description":"Server root URI\nhttps://madness.dannyb.co/#configuration-file","oneOf":[{"type":"string","minLength":1,"examples":["/docs"],"not":{"pattern":"//"}},{"type":"null"}]},"sort_order":{"title":"sort order","description":"Navigation sort order\nhttps://madness.dannyb.co/#configuration-file","type":"string","enum":["dirs_first","mixed"],"default":"dirs_first"},"sidebar":{"title":"sidebar","description":"Whether to enable sidebar\nhttps://madness.dannyb.co/#configuration-file","type":"boolean","default":"true"},"auto_h1":{"title":"auto h1","description":"Whether to add H1 title to files that do not have one\nhttps://madness.dannyb.co/#configuration-file","type":"boolean","default":"true"},"auto_nav":{"title":"auto nav","description":"Whether to append navigation to directory READMEs\nhttps://madness.dannyb.co/#configuration-file","type":"boolean","default":"true"},"auto_toc":{"title":"auto toc","description":"Whether to enable table of contents\nhttps://madness.dannyb.co/#configuration-file","type":"boolean","default":"true"},"highlighter":{"title":"highlighter","description":"Whether to enable syntax highlighter for code snippets\nhttps://madness.dannyb.co/#configuration-file","type":"boolean","default":"true"},"mermaid":{"title":"mermaid","description":"Whether to enable support for mermaid diagrams\nhttps://madness.dannyb.co/#configuration-file","type":"boolean","default":"true"},"copy_code":{"title":"copy code","description":"Whether to enable the copy to clipboard icon for code snippets\nhttps://madness.dannyb.co/#configuration-file","type":"boolean","default":"true"},"shortlinks":{"title":"shortlinks","description":"Whether to convert [[Links]] to [Links](Links)\nhttps://madness.dannyb.co/#configuration-file","type":"boolean","default":"false"},"toc":{"title":"toc","description":"Whether to generate a table of contents file with this name\nhttps://madness.dannyb.co/#configuration-file","oneOf":[{"type":"string","minLength":1,"examples":["Table of Contents"]},{"type":"null"}]},"theme":{"title":"theme","description":"Theme directory\nhttps://madness.dannyb.co/#configuration-file","oneOf":[{"type":"string","minLength":1,"examples":["_theme"]},{"type":"null"}]},"source_link":{"title":"source link","description":"Template for source code links\nhttps://madness.dannyb.co/#configuration-file","oneOf":[{"type":"string","minLength":1,"examples":["http://example.com/%{path}"]},{"type":"null"}]},"source_link_label":{"title":"source link label","description":"Label for the page source code link\nhttps://madness.dannyb.co/#configuration-file","type":"string","minLength":1,"default":"Page Source"},"source_link_pos":{"title":"source link pos","description":"The position of the page source code link\nhttps://madness.dannyb.co/#configuration-file","type":"string","enum":["top","bottom"],"default":"bottom"},"open":{"title":"open","description":"Whether to open the server URL in the browser\nhttps://madness.dannyb.co/#configuration-file","type":"boolean","default":"false"},"auth":{"title":"auth","description":"Whether to provide user:password for basic authentication\nhttps://madness.dannyb.co/#configuration-file","oneOf":[{"type":"boolean","const":false},{"type":"string","pattern":"^[^:]+:[^:]+$","examples":["admin:s3cr3t"]}]},"auth_zone":{"title":"auth zone","description":"An auth realm name\nhttps://madness.dannyb.co/#configuration-file","type":"string","default":"Restricted Documentation"},"expose_extensions":{"title":"expose extensions","description":"Show files with these extensions in the navigation\nhttps://madness.dannyb.co/#configuration-file","oneOf":[{"type":"string","examples":["pdf,docx,xlsx,txt"],"not":{"pattern":",,|^,|,$"}},{"type":"null"}]},"exclude":{"title":"exclude","description":"Excluded directories\nhttps://madness.dannyb.co/#configuration-file","type":"array","minItems":1,"uniqueItems":true,"items":{"description":"An excluded directory\nhttps://madness.dannyb.co/#configuration-file","type":"string","default":"^[a-z_\\-0-9]+$"}}},"additionalProperties":false}
</schema>

[User] Provide a JSON object that satisfies the schema "settings". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

settings

Settings for madness server
https://madness.dannyb.co/#configuration-file

path

Path to the documentation root
https://madness.dannyb.co/#configuration-file

port

Server port
https://madness.dannyb.co/#configuration-file

bind

Server listening address
https://madness.dannyb.co/#configuration-file

renderer

The underlying markdown renderer to use
https://madness.dannyb.co/#configuration-file

base uri

Server root URI
https://madness.dannyb.co/#configuration-file

sort order

Navigation sort order
https://madness.dannyb.co/#configuration-file

sidebar

Whether to enable sidebar
https://madness.dannyb.co/#configuration-file

auto h1

Whether to add H1 title to files that do not have one
https://madness.dannyb.co/#configuration-file

auto nav

Whether to append navigation to directory READMEs
https://madness.dannyb.co/#configuration-file

auto toc

Whether to enable table of contents
https://madness.dannyb.co/#configuration-file

highlighter

Whether to enable syntax highlighter for code snippets
https://madness.dannyb.co/#configuration-file

mermaid

Whether to enable support for mermaid diagrams
https://madness.dannyb.co/#configuration-file

copy code

Whether to enable the copy to clipboard icon for code snippets
https://madness.dannyb.co/#configuration-file

shortlinks

Whether to convert [[Links]] to [Links](Links)
https://madness.dannyb.co/#configuration-file

toc

Whether to generate a table of contents file with this name
https://madness.dannyb.co/#configuration-file

theme

Theme directory
https://madness.dannyb.co/#configuration-file

source link

Template for source code links
https://madness.dannyb.co/#configuration-file

source link label

Label for the page source code link
https://madness.dannyb.co/#configuration-file

source link pos

The position of the page source code link
https://madness.dannyb.co/#configuration-file

open

Whether to open the server URL in the browser
https://madness.dannyb.co/#configuration-file

auth

Whether to provide user:password for basic authentication
https://madness.dannyb.co/#configuration-file

auth zone

An auth realm name
https://madness.dannyb.co/#configuration-file

expose extensions

Show files with these extensions in the navigation
https://madness.dannyb.co/#configuration-file

exclude

Excluded directories
https://madness.dannyb.co/#configuration-file

An excluded directory
https://madness.dannyb.co/#configuration-file

Provide a JSON object that satisfies the schema "settings". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"https://json-schema.org/draft-07/schema","$id":"https://raw.githubusercontent.com/QuiltMC/quilt-json-schemas/main/quilt.mod.json/schemas/main.json","title":"QuiltMC Mod Metadata (Version-agnostic)","type":"object","properties":{"schema_version":{"enum":[1],"default":1}},"oneOf":[{"allOf":[{"properties":{"schema_version":{"const":1}}},{"$ref":"https://raw.githubusercontent.com/QuiltMC/quilt-json-schemas/main/quilt.mod.json/schemas/schema_version_1.json"}]}],"required":["schema_version"]}
</schema>

[User] Provide a JSON object that satisfies the schema "QuiltMC Mod Metadata (Version-agnostic)". Here are the required top‑level fields: schema_version. Return only the valid JSON object.

QuiltMC Mod Metadata (Version-agnostic)

Provide a JSON object that satisfies the schema "QuiltMC Mod Metadata (Version-agnostic)". Here are the required top‑level fields: schema_version. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","title":"release-please manifest config versions","description":"Schema for defining manifest versions file","type":"object","additionalProperties":{"type":"string"}}
</schema>

[User] Provide a JSON object that satisfies the schema "release-please manifest config versions". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

release-please manifest config versions

Schema for defining manifest versions file

Provide a JSON object that satisfies the schema "release-please manifest config versions". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","title":"Home Assistant integration manifest","description":"The manifest for a Home Assistant integration","type":"object","if":{"properties":{"integration_type":{"const":"virtual"}},"required":["integration_type"]},"then":{"oneOf":[{"properties":{"domain":{"description":"The domain identifier of the integration.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#domain","examples":["mobile_app"],"type":"string","pattern":"[0-9a-z_]+"},"name":{"description":"The friendly name of the integration.","type":"string"},"integration_type":{"description":"The integration type.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#integration-type","const":"virtual"},"iot_standards":{"description":"The IoT standards which supports devices or services of this virtual integration.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#iot-standards","type":"array","minItems":1,"items":{"type":"string","enum":["homekit","zigbee","zwave"]}}},"additionalProperties":false,"required":["domain","name","integration_type","iot_standards"]},{"properties":{"domain":{"description":"The domain identifier of the integration.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#domain","examples":["mobile_app"],"type":"string","pattern":"[0-9a-z_]+"},"name":{"description":"The friendly name of the integration.","type":"string"},"integration_type":{"description":"The integration type.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#integration-type","const":"virtual"},"supported_by":{"description":"The integration which supports devices or services of this virtual integration.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#supported-by","type":"string"}},"additionalProperties":false,"required":["domain","name","integration_type","supported_by"]}]},"else":{"properties":{"domain":{"description":"The domain identifier of the integration.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#domain","examples":["mobile_app"],"type":"string","pattern":"[0-9a-z_]+"},"name":{"description":"The friendly name of the integration.","type":"string"},"integration_type":{"description":"The integration type.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#integration-type","type":"string","default":"hub","enum":["device","entity","hardware","helper","hub","service","system"]},"config_flow":{"description":"Whether the integration is configurable from the UI.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#config-flow","type":"boolean"},"mqtt":{"description":"A list of topics to subscribe for the discovery of devices via MQTT.\nThis requires to specify \"mqtt\" in either the \"dependencies\" or \"after_dependencies\".\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#mqtt","type":"array","items":{"type":"string"},"uniqueItems":true},"zeroconf":{"description":"A list containing service domains to search for devices to discover via Zeroconf. Items can either be strings, which discovers all devices in the specific service domain, and/or objects which include filters. (useful for generic service domains like _http._tcp.local.)\nA device is discovered if it matches one of the items, but inside the individual item all properties have to be matched.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#zeroconf","type":"array","minItems":1,"items":{"anyOf":[{"type":"string","pattern":"^.*\\.local\\.$","description":"Service domain to search for devices."},{"type":"object","properties":{"type":{"description":"The service domain to search for devices.","examples":["_http._tcp.local."],"type":"string","pattern":"^.*\\.local\\.$"},"name":{"description":"The name or name pattern of the devices to filter.","type":"string"},"properties":{"description":"The properties of the Zeroconf advertisement to filter.","type":"object","additionalProperties":{"type":"string"}}},"required":["type"],"additionalProperties":false}]},"uniqueItems":true},"ssdp":{"description":"A list of matchers to find devices discoverable via SSDP/UPnP. In order to be discovered, the device has to match all properties of any of the matchers.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#ssdp","type":"array","minItems":1,"items":{"description":"A matcher for the SSDP discovery.","type":"object","properties":{"st":{"type":"string"},"deviceType":{"type":"string"},"manufacturer":{"type":"string"},"modelDescription":{"type":"string"}},"additionalProperties":{"type":"string"}}},"bluetooth":{"description":"A list of matchers to find devices discoverable via Bluetooth. In order to be discovered, the device has to match all properties of any of the matchers.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#bluetooth","type":"array","minItems":1,"items":{"description":"A matcher for the bluetooth discovery","type":"object","properties":{"connectable":{"description":"Whether the device needs to be connected to or it works with just advertisement data.","type":"boolean"},"local_name":{"description":"The name or a name pattern of the device to match.","type":"string","pattern":"^([^*]+|[^*]{3,}[*].*)$"},"service_uuid":{"description":"The 128-bit service data UUID to match.","type":"string","pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"},"service_data_uuid":{"description":"The 16-bit service data UUID to match, converted into the corresponding 128-bit UUID by replacing the 3rd and 4th byte of `00000000-0000-1000-8000-00805f9b34fb` with the 16-bit UUID.","examples":["0000fd3d-0000-1000-8000-00805f9b34fb"],"type":"string","pattern":"0000[0-9a-f]{4}-0000-1000-8000-00805f9b34fb"},"manufacturer_id":{"description":"The Manufacturer ID to match.","type":"integer"},"manufacturer_data_start":{"description":"The start bytes of the manufacturer data to match.","type":"array","minItems":1,"items":{"type":"integer","minimum":0,"maximum":255}}},"additionalProperties":false},"uniqueItems":true},"homekit":{"description":"A list of model names to find devices which are discoverable via HomeKit. A device is discovered if the model name of the device starts with any of the specified model names.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#homekit","type":"object","properties":{"models":{"description":"The model names to search for.","type":"array","items":{"type":"string"},"uniqueItems":true}},"required":["models"],"additionalProperties":false},"dhcp":{"description":"A list of matchers to find devices discoverable via DHCP. In order to be discovered, the device has to match all properties of any of the matchers.\nYou can specify an item with \"registered_devices\" set to true to check for devices with MAC addresses specified in the device registry.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#dhcp","type":"array","items":{"anyOf":[{"type":"object","properties":{"registered_devices":{"description":"Whether the MAC addresses of devices in the device registry should be used for discovery, useful if the discovery is used to update the IP address of already registered devices.","const":true}},"additionalProperties":false},{"type":"object","properties":{"hostname":{"description":"The hostname or hostname pattern to match.","type":"string"},"macaddress":{"description":"The MAC address or MAC address pattern to match.","type":"string","maxLength":12}},"additionalProperties":false}]},"uniqueItems":true},"usb":{"description":"A list of matchers to find devices discoverable via USB. In order to be discovered, the device has to match all properties of any of the matchers.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#usb","type":"array","uniqueItems":true,"items":{"type":"object","additionalProperties":false,"properties":{"vid":{"description":"The vendor ID to match.","type":"string","pattern":"[0-9A-F]{4}"},"pid":{"description":"The product ID to match.","type":"string","pattern":"[0-9A-F]{4}"},"description":{"description":"The USB device description to match.","type":"string"},"manufacturer":{"description":"The manufacturer to match.","type":"string"},"serial_number":{"description":"The serial number to match.","type":"string"},"known_devices":{"type":"array","items":{"type":"string"}}}}},"documentation":{"description":"The website containing the documentation for the integration. It has to be in the format \"https://www.home-assistant.io/integrations/[domain]\"\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#documentation","type":"string","pattern":"^https://www.home-assistant.io/integrations/[0-9a-z_]+$","format":"uri"},"quality_scale":{"description":"The quality scale of the integration.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#integration-quality-scale","type":"string","enum":["bronze","silver","gold","platinum","internal","legacy"]},"requirements":{"description":"The PyPI package requirements for the integration. The package has to be pinned to a specific version.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#requirements","type":"array","items":{"type":"string","pattern":".+==.+"},"uniqueItems":true},"dependencies":{"description":"A list of integrations which need to be loaded before this integration can be set up.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#dependencies","type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true},"after_dependencies":{"description":"A list of integrations which need to be loaded before this integration is set up when it is configured. The integration will still be set up when the \"after_dependencies\" are not configured.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#after-dependencies","type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true},"codeowners":{"description":"A list of GitHub usernames or GitHub team names of the integration owners.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#code-owners","type":"array","minItems":0,"items":{"type":"string","pattern":"^@.+$"},"uniqueItems":true},"loggers":{"description":"A list of logger names used by the requirements.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#loggers","type":"array","minItems":1,"items":{"type":"string"},"uniqueItems":true},"disabled":{"description":"The reason for the integration being disabled.","type":"string"},"iot_class":{"description":"The IoT class of the integration, describing how the integration connects to the device or service.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#iot-class","type":"string","enum":["assumed_state","cloud_polling","cloud_push","local_polling","local_push","calculated"]},"single_config_entry":{"description":"Whether the integration only supports a single config entry.\nhttps://developers.home-assistant.io/docs/creating_integration_manifest/#single-config-entry-only","const":true}},"additionalProperties":false,"required":["domain","name","codeowners","documentation"],"dependencies":{"mqtt":{"anyOf":[{"required":["dependencies"]},{"required":["after_dependencies"]}]}}}}
</schema>

[User] Provide a JSON object that satisfies the schema "Home Assistant integration manifest". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

Home Assistant integration manifest

The manifest for a Home Assistant integration

The domain identifier of the integration.
https://developers.home-assistant.io/docs/creating_integration_manifest/#domain

The friendly name of the integration.

The integration type.
https://developers.home-assistant.io/docs/creating_integration_manifest/#integration-type

The IoT standards which supports devices or services of this virtual integration.
https://developers.home-assistant.io/docs/creating_integration_manifest/#iot-standards

The friendly name of the integration.

The integration which supports devices or services of this virtual integration.
https://developers.home-assistant.io/docs/creating_integration_manifest/#supported-by

The friendly name of the integration.

device entity hardware helper hub service system

Whether the integration is configurable from the UI.
https://developers.home-assistant.io/docs/creating_integration_manifest/#config-flow

A list of topics to subscribe for the discovery of devices via MQTT.
This requires to specify "mqtt" in either the "dependencies" or "after_dependencies".
https://developers.home-assistant.io/docs/creating_integration_manifest/#mqtt

A list containing service domains to search for devices to discover via Zeroconf. Items can either be strings, which discovers all devices in the specific service domain, and/or objects which include filters. (useful for generic service domains like _http._tcp.local.)
A device is discovered if it matches one of the items, but inside the individual item all properties have to be matched.
https://developers.home-assistant.io/docs/creating_integration_manifest/#zeroconf

Service domain to search for devices.

The service domain to search for devices.

The name or name pattern of the devices to filter.

The properties of the Zeroconf advertisement to filter.

A list of matchers to find devices discoverable via SSDP/UPnP. In order to be discovered, the device has to match all properties of any of the matchers.
https://developers.home-assistant.io/docs/creating_integration_manifest/#ssdp

A matcher for the SSDP discovery.

A list of matchers to find devices discoverable via Bluetooth. In order to be discovered, the device has to match all properties of any of the matchers.
https://developers.home-assistant.io/docs/creating_integration_manifest/#bluetooth

A matcher for the bluetooth discovery

Whether the device needs to be connected to or it works with just advertisement data.

The name or a name pattern of the device to match.

The 128-bit service data UUID to match.

The 16-bit service data UUID to match, converted into the corresponding 128-bit UUID by replacing the 3rd and 4th byte of `00000000-0000-1000-8000-00805f9b34fb` with the 16-bit UUID.

The Manufacturer ID to match.

The start bytes of the manufacturer data to match.

A list of model names to find devices which are discoverable via HomeKit. A device is discovered if the model name of the device starts with any of the specified model names.
https://developers.home-assistant.io/docs/creating_integration_manifest/#homekit

The model names to search for.

A list of matchers to find devices discoverable via DHCP. In order to be discovered, the device has to match all properties of any of the matchers.
You can specify an item with "registered_devices" set to true to check for devices with MAC addresses specified in the device registry.
https://developers.home-assistant.io/docs/creating_integration_manifest/#dhcp

Whether the MAC addresses of devices in the device registry should be used for discovery, useful if the discovery is used to update the IP address of already registered devices.

The hostname or hostname pattern to match.

The MAC address or MAC address pattern to match.

A list of matchers to find devices discoverable via USB. In order to be discovered, the device has to match all properties of any of the matchers.
https://developers.home-assistant.io/docs/creating_integration_manifest/#usb

The vendor ID to match.

The product ID to match.

The USB device description to match.

The manufacturer to match.

The serial number to match.

The website containing the documentation for the integration. It has to be in the format "https://www.home-assistant.io/integrations/[domain]"
https://developers.home-assistant.io/docs/creating_integration_manifest/#documentation

The quality scale of the integration.
https://developers.home-assistant.io/docs/creating_integration_manifest/#integration-quality-scale

bronze silver gold platinum internal legacy

The PyPI package requirements for the integration. The package has to be pinned to a specific version.
https://developers.home-assistant.io/docs/creating_integration_manifest/#requirements

A list of integrations which need to be loaded before this integration can be set up.
https://developers.home-assistant.io/docs/creating_integration_manifest/#dependencies

A list of integrations which need to be loaded before this integration is set up when it is configured. The integration will still be set up when the "after_dependencies" are not configured.
https://developers.home-assistant.io/docs/creating_integration_manifest/#after-dependencies

A list of GitHub usernames or GitHub team names of the integration owners.
https://developers.home-assistant.io/docs/creating_integration_manifest/#code-owners

A list of logger names used by the requirements.
https://developers.home-assistant.io/docs/creating_integration_manifest/#loggers

The reason for the integration being disabled.

The IoT class of the integration, describing how the integration connects to the device or service.
https://developers.home-assistant.io/docs/creating_integration_manifest/#iot-class

Whether the integration only supports a single config entry.
https://developers.home-assistant.io/docs/creating_integration_manifest/#single-config-entry-only

Provide a JSON object that satisfies the schema "Home Assistant integration manifest". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/mapehr.json","$comment":"https://mapehr.com","title":"MapEHR Mapping","description":"Mapping for MapEHR.com v0.3.0","type":"object","properties":{"define":{"$ref":"#/definitions/define","description":"Define keys used in the rules. Example: weight: http://loinc.org/29463-7"},"vars":{"$ref":"#/definitions/vars","description":"Define variables used in the rules. Example: default_bmi: randomNormalDistribution((27.6863+25.4960)/2, sqrt(18.65))"},"rules":{"$ref":"#/definitions/rules","description":"Rules for LOINC codes, archetypes, templates."},"keep_missing_target_elements":{"type":"boolean","description":"Keep the target elements for which there is not source data."}},"additionalProperties":false,"definitions":{"rules":{"description":"Rules for a LOINC codes, archetypes, templates.","type":"object","patternProperties":{"^.+$":{"$comment":"Rules for a LOINC codes, archetypes, templates.","$ref":"#/definitions/rule","description":"Rules for a LOINC codes, archetypes, templates."}},"additionalProperties":false},"rule":{"title":"Rule for a LOINC code or archetype.","type":"object","patternProperties":{"^.+$":{"$ref":"#/definitions/rule_code","description":"Rule for a LOINC code, archetype, template."}},"additionalProperties":false},"rule_code":{"type":"object","anyOf":[{"properties":{"uri":{"type":"string","description":"Full URI for this rule."},"name":{"type":"string","description":"Name for this rule."},"description":{"type":"string","description":"Description for this rule."},"keep_missing_target_elements":{"type":"boolean","description":"Keep the target elements for which there is not source data."},"formats":{"$ref":"#/definitions/rule_formats","description":"Models for formats from/to which to map values."},"map":{"type":"array","items":{"$ref":"#/definitions/map"},"title":"Map values for elements."},"define":{"$ref":"#/definitions/define","description":"Define keys used in the rules. Example: weight: http://loinc.org/29463-7"},"vars":{"$ref":"#/definitions/vars","description":"Define variables used in the rules. Example: default_bmi: randomNormalDistribution((27.6863+25.4960)/2, sqrt(18.65))"}},"additionalProperties":false,"required":["map"]},{"properties":{"uri":{"type":"string","description":"Full URI for this rule."},"name":{"type":"string","description":"Name for this rule."},"description":{"type":"string","description":"Description for this rule."},"keep_missing_target_elements":{"type":"boolean","description":"Keep the target elements for which there is not source data."},"set":{"type":"array","items":{"$ref":"#/definitions/set"},"title":"Set values of elements."},"define":{"$ref":"#/definitions/define","description":"Define keys used in the rules. Example: weight: http://loinc.org/29463-7"},"vars":{"$ref":"#/definitions/vars","description":"Define variables used in the rules. Example: default_bmi: randomNormalDistribution((27.6863+25.4960)/2, sqrt(18.65))"},"choices":{"$ref":"#/definitions/choices","description":"Define a list of choices from which a random item will be used."}},"additionalProperties":false,"required":["set"]}]},"rule_formats":{"type":"object","patternProperties":{"^(fhir)$":{"$ref":"#/definitions/rule_format","description":"Mapping format (e.g. FHIR)."}},"additionalProperties":false},"rule_format":{"type":"object","properties":{"uri":{"type":"string","description":"Full URI for the model in this format."},"name":{"type":"string","description":"Name for the model in this format."},"description":{"type":"string","description":"Description for the model in this format."},"resource":{"type":"string","description":"Resource name for the model in this format."}},"additionalProperties":false},"map":{"type":"object","properties":{"attribute":{"type":"string","description":"Used to specify an RM attribute."},"path":{"type":"string","description":"Used to specify an ADL path."},"element":{"$ref":"#/definitions/element","description":"An RM element."},"elements":{"$ref":"#/definitions/elements","description":"RM elements."},"formats":{"$ref":"#/definitions/map_formats","description":"Define formats from/to which the data will be mapped."},"define":{"$ref":"#/definitions/define","description":"Define keys used in the rules. Example: weight: http://loinc.org/29463-7"},"vars":{"$ref":"#/definitions/vars","description":"Define variables used in the rules. Example: default_bmi: randomNormalDistribution((27.6863+25.4960)/2, sqrt(18.65))"}},"additionalProperties":false},"map_formats":{"type":"object","patternProperties":{"^(fhir)$":{"$ref":"#/definitions/map_format_item","description":"Mapping format (e.g. FHIR)."}},"additionalProperties":false},"map_format_item":{"type":"array","items":{"$ref":"#/definitions/map_format"},"title":"Values of elements for the format."},"map_format":{"type":"object","properties":{"attribute":{"type":"string","description":"Used to specify an attribute to the element."},"path":{"type":"string","description":"Used to specify a path to the element."},"element":{"$ref":"#/definitions/map_format_element","description":"Format element."},"elements":{"$ref":"#/definitions/map_format_elements","description":"Format elements."},"define":{"$ref":"#/definitions/define","description":"Define keys used in the rules. Example: weight: http://loinc.org/29463-7"},"vars":{"$ref":"#/definitions/vars","description":"Define variables used in the rules. Example: default_bmi: randomNormalDistribution((27.6863+25.4960)/2, sqrt(18.65))"}},"additionalProperties":false},"map_format_elements":{"type":"object","patternProperties":{"^.+$":{"oneOf":[{"$ref":"#/definitions/map_format_element","description":"Format element."},{"type":"null","description":"Leave it empty if you just need to reference this element."}]}},"additionalProperties":false},"map_format_element":{"type":"object","properties":{"attribute":{"type":"string","description":"Used to specify an attribute."},"path":{"type":"string","description":"Used to specify a path."},"elements":{"$ref":"#/definitions/map_format_elements","description":"Format elements."},"one_of":{"$ref":"#/definitions/one_of","description":"List of keys to look for."}},"additionalProperties":false},"one_of":{"type":"array","items":{"type":"string"}},"set":{"type":"object","properties":{"attribute":{"type":"string","description":"Used to specify an RM attribute."},"path":{"type":"string","description":"Used to specify an ADL path."},"attributes":{"$ref":"#/definitions/attributes","description":"RM type attributes."},"element":{"$ref":"#/definitions/element","description":"An RM element."},"elements":{"$ref":"#/definitions/elements","description":"RM elements."},"define":{"$ref":"#/definitions/define","description":"Define keys used in the rules. Example: weight: http://loinc.org/29463-7"},"vars":{"$ref":"#/definitions/vars","description":"Define variables used in the rules. Example: default_bmi: randomNormalDistribution((27.6863+25.4960)/2, sqrt(18.65))"},"choices":{"$ref":"#/definitions/choices","description":"Define a list of choices from which a random item will be used."},"value_intervals":{"$ref":"#/definitions/value_intervals","description":"Value intervals for each key (e.g. units)."},"interpretation_intervals":{"$ref":"#/definitions/interpretation_intervals","description":"Interpretation intervals for each key (e.g. units)."}},"additionalProperties":false},"elements":{"type":"object","patternProperties":{"^.+$":{"oneOf":[{"$ref":"#/definitions/element","description":"An RM element."},{"type":"null","description":"Leave it empty if you just need to reference this element in a formula."}]}},"additionalProperties":false},"element":{"title":"An RM element.","type":"object","properties":{"attribute":{"type":"string","description":"Used to specify an RM attribute."},"path":{"type":"string","description":"Used to specify an ADL path."},"elements":{"$ref":"#/definitions/elements","description":"RM elements."},"value":{"type":"string","description":"Value of the element. Can use formulas."},"value_type":{"type":"string","description":"RM type of the element."},"value_interval":{"type":"string","description":"Value interval."},"value_intervals":{"$ref":"#/definitions/value_intervals","description":"Value intervals for each key (e.g. units)."},"choice_key":{"type":"string","description":"The name of the key in the choices to use for this element."},"interpretation_interval":{"$ref":"#/definitions/interpretation_interval","description":"Interpretation interval for the value."},"interpretation_intervals":{"$ref":"#/definitions/interpretation_intervals","description":"Interpretation intervals for each key (e.g. units)."}},"additionalProperties":false},"value_intervals":{"type":"object","patternProperties":{"^.+$":{"$ref":"#/definitions/value_interval"}},"additionalProperties":false},"value_interval":{"title":"Interval as [low]..[high]. Example: 1..10","type":"string"},"interpretation_intervals":{"type":"object","patternProperties":{"^.+$":{"$ref":"#/definitions/interpretation_interval"}},"additionalProperties":false},"interpretation_interval":{"type":"object","properties":{"low":{"type":"number","description":"Low value of the interpretation interval."},"high":{"type":"number","description":"High value of the interpretation interval."}},"additionalProperties":false,"required":["low","high"]},"attributes":{"type":"object","patternProperties":{"^.+$":{"$ref":"#/definitions/attribute","description":"An RM type attributes."}},"additionalProperties":false},"attribute":{"type":"object","properties":{"attributes":{"$ref":"#/definitions/attributes","description":"RM type attributes."},"elements":{"$ref":"#/definitions/elements","description":"RM elements for the RM type attribute."},"define":{"$ref":"#/definitions/define","description":"Define keys used in the rules. Example: weight: http://loinc.org/29463-7"},"vars":{"$ref":"#/definitions/vars","description":"Define variables used in the rules. Example: default_bmi: randomNormalDistribution((27.6863+25.4960)/2, sqrt(18.65))"},"choices":{"$ref":"#/definitions/choices","description":"Define a list of choices from which a random item will be used."},"value":{"type":"string","description":"Value of the attribute. Can use formulas."},"value_type":{"type":"string","description":"RM type of the attribute."},"value_interval":{"type":"string","description":"Value interval."},"value_intervals":{"$ref":"#/definitions/value_intervals","description":"Value intervals for each key (e.g. units)."},"choice_key":{"type":"string","description":"The name of the key in the choices to use for this attribute."},"interpretation_interval":{"$ref":"#/definitions/interpretation_interval","description":"Interpretation interval for the value."},"interpretation_intervals":{"$ref":"#/definitions/interpretation_intervals","description":"Interpretation intervals for each key (e.g. units)."}},"additionalProperties":false},"choices":{"type":"array","items":{"$ref":"#/definitions/choices_map"}},"choices_map":{"$ref":"#/definitions/choices_map_entry"},"choices_map_entry":{"type":"object","patternProperties":{"^.+$":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"$ref":"#/definitions/choices_map_entry"}]}},"additionalProperties":false},"define":{"type":"object","patternProperties":{"^.+$":{"type":"string"}},"additionalProperties":false},"vars":{"type":"object","patternProperties":{"^.+$":{"type":"string"}},"additionalProperties":false}}}
</schema>

[User] Provide a JSON object that satisfies the schema "MapEHR Mapping". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

MapEHR Mapping

Mapping for MapEHR.com v0.3.0

Define keys used in the rules. Example: weight: http://loinc.org/29463-7

Define variables used in the rules. Example: default_bmi: randomNormalDistribution((27.6863+25.4960)/2, sqrt(18.65))

Rules for LOINC codes, archetypes, templates.

Keep the target elements for which there is not source data.

Rules for a LOINC codes, archetypes, templates.

Rule for a LOINC code or archetype.

Rule for a LOINC code, archetype, template.

Full URI for this rule.

Name for this rule.

Description for this rule.

Models for formats from/to which to map values.

Map values for elements.

Full URI for this rule.

Name for this rule.

Description for this rule.

Set values of elements.

Define a list of choices from which a random item will be used.

Mapping format (e.g. FHIR).

Full URI for the model in this format.

Name for the model in this format.

Description for the model in this format.

Resource name for the model in this format.

Used to specify an RM attribute.

Used to specify an ADL path.

An RM element.

RM elements.

Define formats from/to which the data will be mapped.

Mapping format (e.g. FHIR).

Values of elements for the format.

Used to specify an attribute to the element.

Used to specify a path to the element.

Format element.

Format elements.

Format element.

Leave it empty if you just need to reference this element.

Used to specify an attribute.

Used to specify a path.

Format elements.

List of keys to look for.

Used to specify an RM attribute.

Used to specify an ADL path.

RM type attributes.

An RM element.

RM elements.

Value intervals for each key (e.g. units).

Interpretation intervals for each key (e.g. units).

An RM element.

Leave it empty if you just need to reference this element in a formula.

An RM element.

Used to specify an RM attribute.

Used to specify an ADL path.

RM elements.

Value of the element. Can use formulas.

RM type of the element.

Value interval.

The name of the key in the choices to use for this element.

Interpretation interval for the value.

Interval as [low]..[high]. Example: 1..10

Low value of the interpretation interval.

High value of the interpretation interval.

An RM type attributes.

RM type attributes.

RM elements for the RM type attribute.

Value of the attribute. Can use formulas.

RM type of the attribute.

Value interval.

The name of the key in the choices to use for this attribute.

Interpretation interval for the value.

Provide a JSON object that satisfies the schema "MapEHR Mapping". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-04/schema#","additionalProperties":false,"id":"https://json.schemastore.org/markdown-link-check.json","properties":{"ignorePatterns":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["pattern"],"properties":{"pattern":{"type":"string"}}}},"replacementPatterns":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["pattern","replacement"],"properties":{"pattern":{"type":"string"},"replacement":{"type":"string"}}}},"httpHeaders":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"urls":{"type":"array","items":{"type":"string"}},"headers":{"type":"object","additionalProperties":{"type":"string"}}}}},"timeout":{"type":"string"},"retryOn429":{"type":"boolean"},"retryCount":{"type":"number"},"projectBaseUrl":{"type":"string"},"fallbackRetryDelay":{"type":"string"},"aliveStatusCodes":{"type":"array","items":{"type":"number"}}},"type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "markdown-link-check". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

Provide a JSON object that satisfies the schema "markdown-link-check". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.