Configuration Blocks
@context
@type
@version
e.g. a typical Basin Contact Us form
Data pulled in from session var
Overridden with data here
TransactionID created / set
Supported Data Format
JSON
HSON ( coming soon )
Approach Notes
We're moving towards a precedent set by JSON-LD, as it's cleaner and more utilitarian.
About the MIME Type
In general, we'll stick with standard conventions;
application/
:The primary type (
application
) represents a general type of data. Itβs often used for data that doesn't fall under other primary types such astext
,image
,audio
, etc.application/
typically indicates that the content is not intended to be directly displayed to the user but rather used or processed by an application. For example,application/json
,application/xml
, andapplication/pdf
indicate that the content is primarily intended for programmatic use.
sa5+json
:The
+json
suffix tells the system that the content is in JSON format and should be handled as such. It helps parsers and applications recognize how to process the content.The
sa5
is a custom subtype, giving a specific indication about what the JSON content represents in the context of your system.
Last updated