{"openapi":"3.1.0","info":{"title":"Dialect","description":"Endpoints: typed fields a gateway's camera reads, kept current, for agents and people to read.","version":"0.5.0-alpha"},"paths":{"/v1/whoami":{"get":{"summary":"Whoami","operationId":"whoami_v1_whoami_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Whoami"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/senses":{"get":{"summary":"Gateways","operationId":"gateways_v1_senses_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SenseGateway"},"type":"array","title":"Response 200 Gateways V1 Senses Get"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/senses/{gateway_id}/look":{"post":{"summary":"Look","operationId":"look_v1_senses__gateway_id__look_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"gateway_id","in":"path","required":true,"schema":{"type":"string","title":"Gateway Id"}},{"name":"size","in":"query","required":false,"schema":{"enum":["small","full"],"type":"string","default":"small","title":"Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SenseTask"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"402":{"description":"Needs a paid plan (payment_required). Only a person can pay, at pay_url.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"429":{"description":"A limit was reached (rate_limited, daily_limit, and others). Wait until retry_at; Retry-After says how long.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/senses/{gateway_id}/locate":{"post":{"summary":"Locate","operationId":"locate_v1_senses__gateway_id__locate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"gateway_id","in":"path","required":true,"schema":{"type":"string","title":"Gateway Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Locate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SenseTask"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"402":{"description":"Needs a paid plan (payment_required). Only a person can pay, at pay_url.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"429":{"description":"A limit was reached (rate_limited, daily_limit, and others). Wait until retry_at; Retry-After says how long.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/notes":{"get":{"summary":"Notes","operationId":"notes_v1_notes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notes"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/notes/{key}":{"put":{"summary":"Note","operationId":"note_v1_notes__key__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Note"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteKept"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints":{"get":{"summary":"Listed","operationId":"listed_v1_endpoints_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/EndpointListed"},"type":"array","title":"Response 200 Listed V1 Endpoints Get"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"summary":"Proposed","operationId":"proposed_v1_endpoints_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Proposal-Input"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposalShown"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"402":{"description":"Needs a paid plan (payment_required). Only a person can pay, at pay_url.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"429":{"description":"A limit was reached (rate_limited, daily_limit, and others). Wait until retry_at; Retry-After says how long.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/endpoints/{name}/alerts":{"put":{"summary":"Alerts","operationId":"alerts_v1_endpoints__name__alerts_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertsChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDescribed"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}},"get":{"summary":"Rules","operationId":"rules_v1_endpoints__name__alerts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rules"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/test":{"post":{"summary":"Tested","operationId":"tested_v1_endpoints_test_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestDraft"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestReceipt"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"402":{"description":"Needs a paid plan (payment_required). Only a person can pay, at pay_url.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"429":{"description":"A limit was reached (rate_limited, daily_limit, and others). Wait until retry_at; Retry-After says how long.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/endpoint-changes":{"get":{"summary":"Changes","operationId":"changes_v1_endpoint_changes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/History"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoint-changes/{change_id}":{"get":{"summary":"One Change","operationId":"one_change_v1_endpoint_changes__change_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"change_id","in":"path","required":true,"schema":{"type":"integer","title":"Change Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneChange"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/versions/{version_id}":{"get":{"summary":"Version","operationId":"version_v1_endpoints_versions__version_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionRecord"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/versions/{version_id}/restore-wording":{"post":{"summary":"Restored","operationId":"restored_v1_endpoints_versions__version_id__restore_wording_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDescribed"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"402":{"description":"Needs a paid plan (payment_required). Only a person can pay, at pay_url.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/versions/{version_id}/undo-reaim":{"post":{"summary":"Undone","operationId":"undone_v1_endpoints_versions__version_id__undo_reaim_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDescribed"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"402":{"description":"Needs a paid plan (payment_required). Only a person can pay, at pay_url.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/versions/{version_id}/confirm":{"post":{"summary":"Confirmed","operationId":"confirmed_v1_endpoints_versions__version_id__confirm_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDescribed"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"402":{"description":"Needs a paid plan (payment_required). Only a person can pay, at pay_url.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/versions/{version_id}/confirm-on-paying":{"post":{"summary":"Confirm On Paying","operationId":"confirm_on_paying_v1_endpoints_versions__version_id__confirm_on_paying_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDescribed"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/confirm-on-paying":{"delete":{"summary":"Not Confirming On Paying","operationId":"not_confirming_on_paying_v1_endpoints_confirm_on_paying_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dismissed"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/endpoints/versions/{version_id}/decline":{"post":{"summary":"Declined","operationId":"declined_v1_endpoints_versions__version_id__decline_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDescribed"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/versions/{version_id}/reopen":{"post":{"summary":"Reopened","operationId":"reopened_v1_endpoints_versions__version_id__reopen_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDescribed"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"402":{"description":"Needs a paid plan (payment_required). Only a person can pay, at pay_url.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/frames/{frame_id}":{"get":{"summary":"Frame","operationId":"frame_v1_endpoints_frames__frame_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"frame_id","in":"path","required":true,"schema":{"type":"integer","title":"Frame Id"}}],"responses":{"200":{"description":"A JPEG","content":{"image/jpeg":{}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/look":{"post":{"summary":"Look","operationId":"look_v1_endpoints__name__look_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrameShown"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"402":{"description":"Needs a paid plan (payment_required). Only a person can pay, at pay_url.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"429":{"description":"A limit was reached (rate_limited, daily_limit, and others). Wait until retry_at; Retry-After says how long.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}":{"get":{"summary":"Read","operationId":"read_v1_endpoints__name__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointRead"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}},"patch":{"summary":"Edited","operationId":"edited_v1_endpoints__name__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDescribed"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/schema":{"get":{"summary":"Schema","operationId":"schema_v1_endpoints__name__schema_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValuesSchema"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/history":{"get":{"summary":"History","operationId":"history_v1_endpoints__name__history_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"After"}},{"name":"field","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"newest","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Newest"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Before"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Until"}},{"name":"unsure","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Unsure"}},{"name":"value","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/History"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/held":{"get":{"summary":"Held","operationId":"held_v1_endpoints__name__held_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"since","in":"query","required":true,"schema":{"type":"number","title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Held"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"429":{"description":"A limit was reached (rate_limited, daily_limit, and others). Wait until retry_at; Retry-After says how long.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/summary":{"get":{"summary":"Summary","operationId":"summary_v1_endpoints__name__summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"field","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field"}},{"name":"last_s","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last S"}},{"name":"time_zone","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time Zone"}},{"name":"days_ago","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Days Ago"}},{"name":"start","in":"query","required":false,"schema":{"type":"string","default":"00:00","title":"Start"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Until"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Summary"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/bars":{"get":{"summary":"Bars","operationId":"bars_v1_endpoints__name__bars_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bars"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/readings":{"get":{"summary":"Readings","operationId":"readings_v1_endpoints__name__readings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewestReadings"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/versions":{"get":{"summary":"Versions","operationId":"versions_v1_endpoints__name__versions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VersionDescribed"},"title":"Response 200 Versions V1 Endpoints  Name  Versions Get"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/stop":{"post":{"summary":"Stopped","operationId":"stopped_v1_endpoints__name__stop_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VersionDescribed"},"title":"Response 200 Stopped V1 Endpoints  Name  Stop Post"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/pause":{"post":{"summary":"Paused","operationId":"paused_v1_endpoints__name__pause_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDescribed"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/resume":{"post":{"summary":"Resumed","operationId":"resumed_v1_endpoints__name__resume_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDescribed"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"402":{"description":"Needs a paid plan (payment_required). Only a person can pay, at pay_url.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/pictures/{picture_id}":{"get":{"summary":"Picture","operationId":"picture_v1_pictures__picture_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"picture_id","in":"path","required":true,"schema":{"type":"string","title":"Picture Id"}},{"name":"size","in":"query","required":false,"schema":{"enum":["thumb","full"],"type":"string","default":"full","title":"Size"}}],"responses":{"200":{"description":"A JPEG","content":{"image/jpeg":{}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/senses/{gateway_id}/past-frames":{"get":{"summary":"Frames","operationId":"frames_v1_senses__gateway_id__past_frames_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"gateway_id","in":"path","required":true,"schema":{"type":"string","title":"Gateway Id"}},{"name":"hours","in":"query","required":false,"schema":{"type":"integer","default":168,"title":"Hours"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","default":8,"title":"Count"}},{"name":"x","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"X"}},{"name":"y","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Y"}},{"name":"w","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"W"}},{"name":"h","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"H"}},{"name":"time_zone","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time Zone"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PastFrames"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/senses/{gateway_id}/past-crops":{"get":{"summary":"Crops","operationId":"crops_v1_senses__gateway_id__past_crops_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"gateway_id","in":"path","required":true,"schema":{"type":"string","title":"Gateway Id"}},{"name":"picture_ids","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"},"title":"Picture Ids"}},{"name":"x","in":"query","required":true,"schema":{"type":"number","title":"X"}},{"name":"y","in":"query","required":true,"schema":{"type":"number","title":"Y"}},{"name":"w","in":"query","required":true,"schema":{"type":"number","title":"W"}},{"name":"h","in":"query","required":true,"schema":{"type":"number","title":"H"}},{"name":"time_zone","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time Zone"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PastCrops"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/setup-runs":{"get":{"summary":"Listed","operationId":"listed_v1_setup_runs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SetupRunShown"},"type":"array","title":"Response 200 Listed V1 Setup Runs Get"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"summary":"Started","operationId":"started_v1_setup_runs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupRunShown"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"402":{"description":"Needs a paid plan (payment_required). Only a person can pay, at pay_url.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"429":{"description":"A limit was reached (rate_limited, daily_limit, and others). Wait until retry_at; Retry-After says how long.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/setup-runs/{run_id}":{"get":{"summary":"One","operationId":"one_v1_setup_runs__run_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"After"}},{"name":"wait","in":"query","required":false,"schema":{"type":"number","default":0,"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupRunEvents"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/setup-runs/{run_id}/answer":{"post":{"summary":"Answered","operationId":"answered_v1_setup_runs__run_id__answer_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Answered"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupRunShown"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"402":{"description":"Needs a paid plan (payment_required). Only a person can pay, at pay_url.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"429":{"description":"A limit was reached (rate_limited, daily_limit, and others). Wait until retry_at; Retry-After says how long.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/setup-runs/{run_id}/stop":{"post":{"summary":"Stopped","operationId":"stopped_v1_setup_runs__run_id__stop_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupRunShown"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/setup-runs/{run_id}/dismiss":{"post":{"summary":"Dismissed","operationId":"dismissed_v1_setup_runs__run_id__dismiss_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupRunShown"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/setup-runs/{run_id}/status":{"get":{"summary":"Run Status","operationId":"run_status_v1_setup_runs__run_id__status_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupStatus"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/webhooks":{"get":{"summary":"Listed","operationId":"listed_v1_endpoints__name__webhooks_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhooks"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}},"post":{"summary":"Created","operationId":"created_v1_endpoints__name__webhooks_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subscription"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookMade"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookMade"}}},"description":"OK"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"429":{"description":"A limit was reached (rate_limited, daily_limit, and others). Wait until retry_at; Retry-After says how long.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/webhooks/{webhook_id}/deliveries/{delivery_id}/resend":{"post":{"summary":"Resent","operationId":"resent_v1_endpoints__name__webhooks__webhook_id__deliveries__delivery_id__resend_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}},{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Delivery"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"429":{"description":"A limit was reached (rate_limited, daily_limit, and others). Wait until retry_at; Retry-After says how long.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/webhooks/{webhook_id}/rotate":{"post":{"summary":"Rotated","operationId":"rotated_v1_endpoints__name__webhooks__webhook_id__rotate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookRotated"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/webhooks/{webhook_id}/test":{"post":{"summary":"Tested","operationId":"tested_v1_endpoints__name__webhooks__webhook_id__test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookTested"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"429":{"description":"A limit was reached (rate_limited, daily_limit, and others). Wait until retry_at; Retry-After says how long.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/webhooks/{webhook_id}/resume":{"post":{"summary":"Resumed","operationId":"resumed_v1_endpoints__name__webhooks__webhook_id__resume_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookShown"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/webhooks/{webhook_id}":{"delete":{"summary":"Deleted","operationId":"deleted_v1_endpoints__name__webhooks__webhook_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeleted"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/email-alerts":{"get":{"summary":"Shown","operationId":"shown_v1_endpoints__name__email_alerts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailAlertsShown"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}},"put":{"summary":"Changed","operationId":"changed_v1_endpoints__name__email_alerts_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Setting"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailAlertsShown"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/email-alerts/deliveries/{delivery_id}/resend":{"post":{"summary":"Resent","operationId":"resent_v1_endpoints__name__email_alerts_deliveries__delivery_id__resend_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Delivery"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"429":{"description":"A limit was reached (rate_limited, daily_limit, and others). Wait until retry_at; Retry-After says how long.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/alerts":{"get":{"summary":"Listed","operationId":"listed_v1_alerts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"enum":["pending","open","closed"],"type":"string"},{"type":"null"}],"title":"State"}},{"name":"endpoint","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Alerts"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/alerts/{alert_id}/handling":{"post":{"summary":"Handled","operationId":"handled_v1_alerts__alert_id__handling_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"string","title":"Alert Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Handling"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValueAlert"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/alerts/{rule}/shelf":{"put":{"summary":"Shelved","operationId":"shelved_v1_endpoints__name__alerts__rule__shelf_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"rule","in":"path","required":true,"schema":{"type":"string","title":"Rule"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shelving"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rules"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}},"delete":{"summary":"Unshelved","operationId":"unshelved_v1_endpoints__name__alerts__rule__shelf_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"rule","in":"path","required":true,"schema":{"type":"string","title":"Rule"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rules"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/needs":{"get":{"summary":"Needed","operationId":"needed_v1_needs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Needs"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/endpoints/{name}/version-unsure":{"get":{"summary":"Version Unsure","operationId":"version_unsure_v1_endpoints__name__version_unsure_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionsUnsure"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/log.csv":{"get":{"summary":"Log Csv","operationId":"log_csv_v1_endpoints__name__log_csv_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"since","in":"query","required":true,"schema":{"type":"number","description":"Scheduled at or after, Unix seconds","title":"Since"},"description":"Scheduled at or after, Unix seconds"},{"name":"before","in":"query","required":true,"schema":{"type":"number","description":"Scheduled before, Unix seconds","title":"Before"},"description":"Scheduled before, Unix seconds"}],"responses":{"200":{"description":"The log's entries as CSV","content":{"text/csv":{}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/log":{"get":{"summary":"Log Page","operationId":"log_page_v1_endpoints__name__log_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Scheduled at or after, Unix seconds","title":"Since"},"description":"Scheduled at or after, Unix seconds"},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Scheduled before, Unix seconds","title":"Before"},"description":"Scheduled before, Unix seconds"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"next_after from the last page, with the same newest","title":"After"},"description":"next_after from the last page, with the same newest"},{"name":"newest","in":"query","required":false,"schema":{"type":"boolean","description":"Newest scheduled first, after going on to older entries; else oldest first","default":false,"title":"Newest"},"description":"Newest scheduled first, after going on to older entries; else oldest first"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogPage"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/log/{entry_id}":{"get":{"summary":"Log Entry","operationId":"log_entry_v1_endpoints__name__log__entry_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","title":"Entry Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogEntry"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/endpoints/{name}/log/{entry_id}/read":{"post":{"summary":"Log Read","operationId":"log_read_v1_endpoints__name__log__entry_id__read_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","title":"Entry Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogRead"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogEntry"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}},"/v1/live/token":{"post":{"summary":"Token","description":"A stream token for the console's browser: the caller's workspace, for TTL_S, for GET /v1/live only.","operationId":"token_v1_live_token_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveToken"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/endpoints/{name}/public":{"get":{"summary":"Shown","operationId":"shown_v1_endpoints__name__public_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicAs"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}},"put":{"summary":"Made Public","operationId":"made_public_v1_endpoints__name__public_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Publish"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicAs"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"409":{"description":"It conflicts with how things are now; code says how (busy, name_taken, superseded, more_things_needed, quote_needed, and others).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"413":{"description":"The request is over 12 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}},"delete":{"summary":"Made Private","operationId":"made_private_v1_endpoints__name__public_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicAs"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}},"description":"Unprocessable Entity"},"401":{"description":"No working token: it is missing, mistyped or revoked (code unauthorized), expired (token_expired) or replaced (token_rotated). An administrator issues one in the Dialect console at https://dialectlayer.com: Access, then Grant access, then An agent's token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"403":{"description":"This token's role or access can't do this (forbidden, read_only).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"404":{"description":"Nothing by that name or id that this token can reach. An endpoint a person hasn't confirmed yet answers not_confirmed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"500":{"description":"Dialect failed (unexpected). Quote request_id if you write to us.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}},"503":{"description":"Something Dialect relies on can't answer for now. Try again shortly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemBody"}}}}}}}},"components":{"schemas":{"AboveAlert":{"properties":{"for_s":{"type":"integer","maximum":86400.0,"minimum":0.0,"title":"For S","description":"How long it must hold before it opens","default":0},"clear_for_s":{"type":"integer","maximum":3600.0,"minimum":0.0,"title":"Clear For S","description":"How long it must be clear before it closes","default":0},"priority":{"type":"string","enum":["low","high","urgent"],"title":"Priority","default":"high"},"remind_every_s":{"anyOf":[{"type":"integer","maximum":86400.0,"minimum":300.0,"description":"Remind this often while it is open and unclaimed"},{"type":"null"}],"title":"Remind Every S"},"if_no_sure_value_for_s":{"anyOf":[{"type":"integer","maximum":86400.0,"minimum":600.0},{"type":"null"}],"title":"If No Sure Value For S","description":"Also open when the field has had no sure value for this long"},"field":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$","title":"Field"},"above":{"type":"number","title":"Above"},"ends_below":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ends Below"}},"additionalProperties":false,"type":"object","required":["field","above"],"title":"AboveAlert","description":"When a number field reads above `above`, in its unit. Once open it ends at `ends_below` or under: a deadband, so\na reading wobbling about the threshold doesn't open and close it again and again. By default, the threshold."},"ActedBy":{"properties":{"kind":{"type":"string","enum":["person","agent"],"title":"Kind"},"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"additionalProperties":false,"type":"object","required":["kind","id","name"],"title":"ActedBy"},"Alert":{"properties":{"id":{"type":"string","title":"Id"},"endpoint":{"type":"string","title":"Endpoint"},"title":{"type":"string","title":"Title"},"sentence":{"type":"string","title":"Sentence"},"rule":{"type":"string","title":"Rule","description":"Its rule's key, as PUT /v1/endpoints/{name}/alerts/{rule}/shelf takes it"},"field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field","description":"Its field; null for a rule its newest version no longer has"},"condition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Condition","description":"What it alerts on, \"above 70 psi\"; null where the field is"},"priority":{"type":"string","title":"Priority"},"opened_at":{"type":"number","title":"Opened At"},"fired_24h":{"type":"integer","title":"Fired 24H","description":"How many times its rule fired in the last 24 hours, this time too"},"clear_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Clear S","description":"How long sure readings have been clear of it; it closes by itself. Null while they aren't"},"handled_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Handled By","description":"Whose claim went stale; null when nobody claimed it"},"handling_updated_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Handling Updated At"},"picture_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture Id"}},"additionalProperties":false,"type":"object","required":["id","endpoint","title","sentence","rule","field","condition","priority","opened_at","fired_24h","clear_s","handled_by","handling_updated_at","picture_id"],"title":"Alert"},"AlertNote":{"properties":{"at":{"type":"number","title":"At"},"by":{"$ref":"#/components/schemas/ActedBy"},"note":{"type":"string","title":"Note"}},"additionalProperties":false,"type":"object","required":["at","by","note"],"title":"AlertNote"},"Alerts":{"properties":{"alerts":{"items":{"oneOf":[{"$ref":"#/components/schemas/ValueAlert"},{"$ref":"#/components/schemas/GatewayAlertShown"}],"discriminator":{"propertyName":"kind","mapping":{"gateway_health":"#/components/schemas/GatewayAlertShown","gateway_offline":"#/components/schemas/GatewayAlertShown","value":"#/components/schemas/ValueAlert"}}},"type":"array","title":"Alerts"},"now":{"type":"number","title":"Now"}},"additionalProperties":false,"type":"object","required":["alerts","now"],"title":"Alerts"},"AlertsChange":{"properties":{"alerts":{"items":{"oneOf":[{"$ref":"#/components/schemas/ExactAlert"},{"$ref":"#/components/schemas/AboveAlert"},{"$ref":"#/components/schemas/BelowAlert"}]},"type":"array","maxItems":20,"title":"Alerts"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"base":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base","description":"The id of the version whose alerts the editor read: refused (409 stale) once its alerts changed"}},"additionalProperties":false,"type":"object","required":["alerts"],"title":"AlertsChange","description":"A running endpoint's alerts, all of them, replacing what it has. Each is checked against the endpoint's fields."},"AnchorKept":{"properties":{"box":{"anyOf":[{"$ref":"#/components/schemas/Box"},{"type":"null"}]},"present":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Present"},"x":{"type":"integer","title":"X"},"y":{"type":"integer","title":"Y"},"w":{"type":"integer","title":"W"},"h":{"type":"integer","title":"H"}},"additionalProperties":false,"type":"object","title":"AnchorKept","description":"Where an anchor was tested. Versions from before boxes were fractions say x, y, w and h in pixels."},"AnchorSeen":{"properties":{"box":{"anyOf":[{"$ref":"#/components/schemas/Box"},{"type":"null"}]},"present":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Present"}},"additionalProperties":false,"type":"object","title":"AnchorSeen"},"Answered":{"properties":{"answer":{"type":"string","maxLength":300,"minLength":1,"title":"Answer"}},"additionalProperties":false,"type":"object","required":["answer"],"title":"Answered","description":"A person's answer to a re-aim's question: `POST /v1/setup-runs/{id}/answer` and dialect_answer_reaim."},"AnsweredBy":{"properties":{"name":{"type":"string","title":"Name"},"title":{"type":"string","title":"Title"}},"additionalProperties":false,"type":"object","required":["name","title"],"title":"AnsweredBy","description":"The running endpoint that already reads a setup's request."},"AnswersTorn":{"properties":{"field":{"type":"string","title":"Field"},"split":{"items":{"type":"string"},"type":"array","title":"Split"},"keep":{"type":"string","title":"Keep"},"fold":{"items":{"type":"string"},"type":"array","title":"Fold"},"answers":{"items":{"type":"string"},"type":"array","title":"Answers"},"merged":{"$ref":"#/components/schemas/Tallies"},"running":{"$ref":"#/components/schemas/Tallies"}},"additionalProperties":false,"type":"object","required":["field","split","keep","fold","answers","merged","running"],"title":"AnswersTorn","description":"Two answers that split its readers, and how it read asked with them folded and with its own."},"Attempt":{"properties":{"at":{"type":"number","title":"At"},"status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"ms":{"type":"integer","title":"Ms"},"response":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response"},"fault":{"type":"string","title":"Fault"}},"additionalProperties":false,"type":"object","required":["at","status","error","ms"],"title":"Attempt"},"Bar":{"properties":{"threshold":{"type":"number","title":"Threshold","description":"How sure a reading must be to count"},"default":{"type":"number","title":"Default"},"checked":{"type":"integer","title":"Checked","description":"How many labelled readings are sure at it"},"needed":{"type":"integer","title":"Needed"}},"additionalProperties":false,"type":"object","required":["threshold","default","checked","needed"],"title":"Bar"},"Barred":{"properties":{"kind":{"type":"string","const":"bar","title":"Kind","default":"bar"},"of":{"type":"string","title":"Of"},"field":{"type":"string","title":"Field"},"before":{"type":"number","title":"Before"},"after":{"type":"number","title":"After"},"evidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence"}},"additionalProperties":false,"type":"object","required":["of","field","before","after","evidence"],"title":"Barred","description":"Dialect set one field's sure bar; evidence: what its labels showed, a clause."},"Bars":{"properties":{"name":{"type":"string","title":"Name"},"fields":{"additionalProperties":{"$ref":"#/components/schemas/Bar"},"type":"object","title":"Fields"}},"additionalProperties":false,"type":"object","required":["name","fields"],"title":"Bars"},"BelowAlert":{"properties":{"for_s":{"type":"integer","maximum":86400.0,"minimum":0.0,"title":"For S","description":"How long it must hold before it opens","default":0},"clear_for_s":{"type":"integer","maximum":3600.0,"minimum":0.0,"title":"Clear For S","description":"How long it must be clear before it closes","default":0},"priority":{"type":"string","enum":["low","high","urgent"],"title":"Priority","default":"high"},"remind_every_s":{"anyOf":[{"type":"integer","maximum":86400.0,"minimum":300.0,"description":"Remind this often while it is open and unclaimed"},{"type":"null"}],"title":"Remind Every S"},"if_no_sure_value_for_s":{"anyOf":[{"type":"integer","maximum":86400.0,"minimum":600.0},{"type":"null"}],"title":"If No Sure Value For S","description":"Also open when the field has had no sure value for this long"},"field":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$","title":"Field"},"below":{"type":"number","title":"Below"},"ends_above":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ends Above"}},"additionalProperties":false,"type":"object","required":["field","below"],"title":"BelowAlert","description":"When a number field reads below `below`, in its unit. Once open it ends at `ends_above` or over; by default, the\nthreshold."},"Billing":{"properties":{"things":{"type":"integer","title":"Things"},"manage_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manage Url"},"contact":{"type":"string","title":"Contact"}},"additionalProperties":false,"type":"object","required":["things","manage_url","contact"],"title":"Billing"},"Box":{"properties":{"left":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Left"},"top":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Top"},"right":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Right"},"bottom":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Bottom"}},"additionalProperties":false,"type":"object","required":["left","top","right","bottom"],"title":"Box","description":"A box as fractions of the frame."},"Camera":{"properties":{"endpoint":{"type":"string","title":"Endpoint"},"gateway_id":{"type":"string","title":"Gateway Id"},"title":{"type":"string","title":"Title"},"state":{"type":"string","title":"State"},"since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Since"},"out_of_view":{"items":{"type":"string"},"type":"array","title":"Out Of View"},"view_changed":{"type":"boolean","title":"View Changed"},"picture_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture Id"},"said":{"$ref":"#/components/schemas/Said"}},"additionalProperties":false,"type":"object","required":["endpoint","gateway_id","title","state","since","out_of_view","view_changed","picture_id","said"],"title":"Camera"},"CameraKept":{"properties":{"state":{"type":"string","title":"State"},"since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Since"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"anchors":{"additionalProperties":{"$ref":"#/components/schemas/AnchorSeen"},"type":"object","title":"Anchors"},"out_since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Out Since"},"back_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Back At"}},"additionalProperties":false,"type":"object","required":["state","since","detail"],"title":"CameraKept"},"CameraShown":{"properties":{"state":{"type":"string","title":"State"},"since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Since"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"anchors":{"additionalProperties":{"$ref":"#/components/schemas/AnchorSeen"},"type":"object","title":"Anchors"},"out_since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Out Since"},"back_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Back At"},"effect":{"type":"string","title":"Effect"},"out_of_view":{"items":{"type":"string"},"type":"array","title":"Out Of View"},"view_changed":{"type":"boolean","title":"View Changed"}},"additionalProperties":false,"type":"object","required":["state","since","detail","effect","out_of_view","view_changed"],"title":"CameraShown"},"ChoiceField-Input":{"properties":{"type":{"type":"string","const":"choice","title":"Type"},"asks":{"anyOf":[{"type":"string","maxLength":80,"minLength":3},{"type":"null"}],"title":"Asks","description":"The question a person would put about this field, in their own words, 3 to 80 characters: \"Is anything on or beside the valve?\". Shown to people; it never changes what is read."},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]},"target":{"anyOf":[{"$ref":"#/components/schemas/SeenTarget"},{"$ref":"#/components/schemas/Target"},{"type":"null"}],"title":"Target"},"anchor":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Anchor"},"question":{"type":"string","maxLength":300,"minLength":1,"title":"Question"},"answers":{"patternProperties":{"^[a-z0-9][a-z0-9_-]{0,39}$":{"type":"string","maxLength":300,"minLength":1}},"type":"object","maxProperties":12,"minProperties":2,"title":"Answers"},"threshold":{"type":"number","maximum":0.99,"minimum":0.5,"title":"Threshold","description":"The score a reading must reach to be sure. Leave it out, or raise it; never set it under its kind's default (0.9, a level's 0.8): an unsure reading is fixed by its words or its crop, not by its bar.","default":0.9},"blinking":{"anyOf":[{"patternProperties":{"^[a-z0-9][a-z0-9_-]{0,39}$":{"prefixItems":[{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,39}$"},{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,39}$"}],"type":"array","maxItems":2,"minItems":2}},"type":"object","maxProperties":6,"minProperties":1},{"type":"null"}],"title":"Blinking","description":"What the field reads when the light alternates between two of its steady states: {\"red_blinking\": [\"red\", \"off\"]}. The gateway watches it over over_s on every check."},"over_s":{"anyOf":[{"type":"number","maximum":10.0,"minimum":2.0},{"type":"null"}],"title":"Over S","description":"Seconds the gateway watches the light for on each check, 2 to 10 (3 when left out): at least twice the period of the slowest blink to read."}},"additionalProperties":false,"type":"object","required":["type","question","answers"],"title":"ChoiceField","description":"One of a set of answers."},"ChoiceField-Output":{"properties":{"type":{"type":"string","const":"choice","title":"Type"},"asks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asks","description":"The question a person would put about this field, in their own words, 3 to 80 characters: \"Is anything on or beside the valve?\". Shown to people; it never changes what is read."},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]},"target":{"anyOf":[{"$ref":"#/components/schemas/SeenTarget"},{"$ref":"#/components/schemas/Target"},{"type":"null"}],"title":"Target"},"anchor":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Anchor"},"question":{"type":"string","maxLength":300,"minLength":1,"title":"Question"},"answers":{"patternProperties":{"^[a-z0-9][a-z0-9_-]{0,39}$":{"type":"string","maxLength":300,"minLength":1}},"type":"object","maxProperties":12,"minProperties":2,"title":"Answers"},"threshold":{"type":"number","maximum":0.99,"minimum":0.5,"title":"Threshold","description":"The score a reading must reach to be sure. Leave it out, or raise it; never set it under its kind's default (0.9, a level's 0.8): an unsure reading is fixed by its words or its crop, not by its bar.","default":0.9},"blinking":{"anyOf":[{"patternProperties":{"^[a-z0-9][a-z0-9_-]{0,39}$":{"prefixItems":[{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,39}$"},{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,39}$"}],"type":"array","maxItems":2,"minItems":2}},"type":"object","maxProperties":6,"minProperties":1},{"type":"null"}],"title":"Blinking","description":"What the field reads when the light alternates between two of its steady states: {\"red_blinking\": [\"red\", \"off\"]}. The gateway watches it over over_s on every check."},"over_s":{"anyOf":[{"type":"number","maximum":10.0,"minimum":2.0},{"type":"null"}],"title":"Over S","description":"Seconds the gateway watches the light for on each check, 2 to 10 (3 when left out): at least twice the period of the slowest blink to read."}},"additionalProperties":false,"type":"object","required":["type","question","answers"],"title":"ChoiceField","description":"One of a set of answers."},"Claim":{"properties":{"at":{"type":"number","title":"At"},"by":{"$ref":"#/components/schemas/ActedBy"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["at","by","note"],"title":"Claim"},"ColourField-Input":{"properties":{"type":{"type":"string","const":"colour","title":"Type"},"asks":{"anyOf":[{"type":"string","maxLength":80,"minLength":3},{"type":"null"}],"title":"Asks","description":"The question a person would put about this field, in their own words, 3 to 80 characters: \"Is anything on or beside the valve?\". Shown to people; it never changes what is read."},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]},"target":{"anyOf":[{"$ref":"#/components/schemas/SeenTarget"},{"$ref":"#/components/schemas/Target"},{"type":"null"}],"title":"Target"},"anchor":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Anchor"},"states":{"patternProperties":{"^[a-z0-9][a-z0-9_-]{0,39}$":{"items":{"prefixItems":[{"type":"integer","maximum":255.0,"minimum":0.0},{"type":"integer","maximum":255.0,"minimum":0.0},{"type":"integer","maximum":255.0,"minimum":0.0}],"type":"array","maxItems":3,"minItems":3},"type":"array","maxItems":8,"minItems":1}},"type":"object","maxProperties":12,"minProperties":2,"title":"States"},"margin":{"type":"number","maximum":255.0,"minimum":1.0,"title":"Margin","default":20.0},"blinking":{"anyOf":[{"patternProperties":{"^[a-z0-9][a-z0-9_-]{0,39}$":{"prefixItems":[{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,39}$"},{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,39}$"}],"type":"array","maxItems":2,"minItems":2}},"type":"object","maxProperties":6,"minProperties":1},{"type":"null"}],"title":"Blinking","description":"What the field reads when the light alternates between two of its steady states: {\"red_blinking\": [\"red\", \"off\"]}. The gateway watches it over over_s on every check."},"over_s":{"anyOf":[{"type":"number","maximum":10.0,"minimum":2.0},{"type":"null"}],"title":"Over S","description":"Seconds the gateway watches the light for on each check, 2 to 10 (3 when left out): at least twice the period of the slowest blink to read."}},"additionalProperties":false,"type":"object","required":["type","states"],"title":"ColourField","description":"One of its states, by the region's mean colour against colours recorded per state. Local and free."},"ColourField-Output":{"properties":{"type":{"type":"string","const":"colour","title":"Type"},"asks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asks","description":"The question a person would put about this field, in their own words, 3 to 80 characters: \"Is anything on or beside the valve?\". Shown to people; it never changes what is read."},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]},"target":{"anyOf":[{"$ref":"#/components/schemas/SeenTarget"},{"$ref":"#/components/schemas/Target"},{"type":"null"}],"title":"Target"},"anchor":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Anchor"},"states":{"patternProperties":{"^[a-z0-9][a-z0-9_-]{0,39}$":{"items":{"prefixItems":[{"type":"integer","maximum":255.0,"minimum":0.0},{"type":"integer","maximum":255.0,"minimum":0.0},{"type":"integer","maximum":255.0,"minimum":0.0}],"type":"array","maxItems":3,"minItems":3},"type":"array","maxItems":8,"minItems":1}},"type":"object","maxProperties":12,"minProperties":2,"title":"States"},"margin":{"type":"number","maximum":255.0,"minimum":1.0,"title":"Margin","default":20.0},"blinking":{"anyOf":[{"patternProperties":{"^[a-z0-9][a-z0-9_-]{0,39}$":{"prefixItems":[{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,39}$"},{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,39}$"}],"type":"array","maxItems":2,"minItems":2}},"type":"object","maxProperties":6,"minProperties":1},{"type":"null"}],"title":"Blinking","description":"What the field reads when the light alternates between two of its steady states: {\"red_blinking\": [\"red\", \"off\"]}. The gateway watches it over over_s on every check."},"over_s":{"anyOf":[{"type":"number","maximum":10.0,"minimum":2.0},{"type":"null"}],"title":"Over S","description":"Seconds the gateway watches the light for on each check, 2 to 10 (3 when left out): at least twice the period of the slowest blink to read."}},"additionalProperties":false,"type":"object","required":["type","states"],"title":"ColourField","description":"One of its states, by the region's mean colour against colours recorded per state. Local and free."},"Condition":{"properties":{"field":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$","title":"Field"},"is":{"anyOf":[{"items":{"anyOf":[{"type":"string"},{"type":"boolean"}]},"type":"array","maxItems":12,"minItems":1},{"type":"null"}],"title":"Is"}},"additionalProperties":false,"type":"object","required":["field"],"title":"Condition","description":"A change worth sending: `field` changing, to any value or to one of `is`."},"ConditionSaid":{"properties":{"field":{"type":"string","title":"Field"},"is":{"anyOf":[{"items":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"}]},"type":"array"},{"type":"null"}],"title":"Is"}},"additionalProperties":false,"type":"object","required":["field"],"title":"ConditionSaid"},"ConfirmOnPayingShown":{"properties":{"version_id":{"type":"string","title":"Version Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"refused":{"anyOf":[{"type":"string","enum":["changed","no_room"]},{"type":"null"}],"title":"Refused","description":"Why the payment couldn't confirm it; null while it waits"},"at":{"type":"number","title":"At","description":"When the button was pressed"}},"additionalProperties":false,"type":"object","required":["version_id","title","refused","at"],"title":"ConfirmOnPayingShown"},"Delivery":{"properties":{"id":{"type":"string","title":"Id"},"channel":{"type":"string","title":"Channel"},"to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To"},"type":{"type":"string","title":"Type"},"test":{"type":"boolean","title":"Test"},"state":{"type":"string","title":"State"},"field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value"},"created_at":{"type":"number","title":"Created At"},"finished_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Finished At"},"next_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Next At"},"attempts":{"items":{"$ref":"#/components/schemas/Attempt"},"type":"array","title":"Attempts"},"payload":{"additionalProperties":true,"type":"object","title":"Payload","description":"What was sent"}},"additionalProperties":false,"type":"object","required":["id","channel","to","type","test","state","field","value","created_at","finished_at","next_at","attempts","payload"],"title":"Delivery"},"DialField-Input":{"properties":{"type":{"type":"string","const":"number","title":"Type"},"asks":{"anyOf":[{"type":"string","maxLength":80,"minLength":3},{"type":"null"}],"title":"Asks","description":"The question a person would put about this field, in their own words, 3 to 80 characters: \"Is anything on or beside the valve?\". Shown to people; it never changes what is read."},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]},"target":{"anyOf":[{"$ref":"#/components/schemas/SeenTarget"},{"$ref":"#/components/schemas/Target"},{"type":"null"}],"title":"Target"},"anchor":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Anchor"},"shows":{"type":"string","const":"dial","title":"Shows"},"question":{"type":"string","maxLength":300,"minLength":1,"title":"Question"},"unit":{"anyOf":[{"type":"string","maxLength":12,"minLength":1},{"type":"null"}],"title":"Unit"},"min":{"type":"number","title":"Min"},"max":{"type":"number","title":"Max"},"decimals":{"type":"integer","maximum":4.0,"minimum":0.0,"title":"Decimals","default":0},"tolerance":{"type":"number","exclusiveMinimum":0.0,"title":"Tolerance"}},"additionalProperties":false,"type":"object","required":["type","shows","question","min","max","tolerance"],"title":"DialField","description":"Where a dial's needle points on its scale. Sure when the reader's likely range sits within value ± tolerance, and\na change smaller than the tolerance is the same reading."},"DialField-Output":{"properties":{"type":{"type":"string","const":"number","title":"Type"},"asks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asks","description":"The question a person would put about this field, in their own words, 3 to 80 characters: \"Is anything on or beside the valve?\". Shown to people; it never changes what is read."},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]},"target":{"anyOf":[{"$ref":"#/components/schemas/SeenTarget"},{"$ref":"#/components/schemas/Target"},{"type":"null"}],"title":"Target"},"anchor":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Anchor"},"shows":{"type":"string","const":"dial","title":"Shows"},"question":{"type":"string","maxLength":300,"minLength":1,"title":"Question"},"unit":{"anyOf":[{"type":"string","maxLength":12,"minLength":1},{"type":"null"}],"title":"Unit"},"min":{"type":"number","title":"Min"},"max":{"type":"number","title":"Max"},"decimals":{"type":"integer","maximum":4.0,"minimum":0.0,"title":"Decimals","default":0},"tolerance":{"type":"number","exclusiveMinimum":0.0,"title":"Tolerance"}},"additionalProperties":false,"type":"object","required":["type","shows","question","min","max","tolerance"],"title":"DialField","description":"Where a dial's needle points on its scale. Sure when the reader's likely range sits within value ± tolerance, and\na change smaller than the tolerance is the same reading."},"DigitsField-Input":{"properties":{"type":{"type":"string","const":"number","title":"Type"},"asks":{"anyOf":[{"type":"string","maxLength":80,"minLength":3},{"type":"null"}],"title":"Asks","description":"The question a person would put about this field, in their own words, 3 to 80 characters: \"Is anything on or beside the valve?\". Shown to people; it never changes what is read."},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]},"target":{"anyOf":[{"$ref":"#/components/schemas/SeenTarget"},{"$ref":"#/components/schemas/Target"},{"type":"null"}],"title":"Target"},"anchor":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Anchor"},"shows":{"type":"string","const":"digits","title":"Shows"},"question":{"type":"string","maxLength":300,"minLength":1,"title":"Question"},"unit":{"anyOf":[{"type":"string","maxLength":12,"minLength":1},{"type":"null"}],"title":"Unit"},"min":{"type":"number","title":"Min"},"max":{"type":"number","title":"Max"},"decimals":{"type":"integer","maximum":4.0,"minimum":0.0,"title":"Decimals","default":0},"threshold":{"type":"number","maximum":0.99,"minimum":0.5,"title":"Threshold","description":"The score a reading must reach to be sure. Leave it out, or raise it; never set it under its kind's default (0.9, a level's 0.8): an unsure reading is fixed by its words or its crop, not by its bar.","default":0.9}},"additionalProperties":false,"type":"object","required":["type","shows","question","min","max"],"title":"DigitsField","description":"The digits a display or counter shows: sure when the reader's confidence reaches the threshold."},"DigitsField-Output":{"properties":{"type":{"type":"string","const":"number","title":"Type"},"asks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asks","description":"The question a person would put about this field, in their own words, 3 to 80 characters: \"Is anything on or beside the valve?\". Shown to people; it never changes what is read."},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]},"target":{"anyOf":[{"$ref":"#/components/schemas/SeenTarget"},{"$ref":"#/components/schemas/Target"},{"type":"null"}],"title":"Target"},"anchor":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Anchor"},"shows":{"type":"string","const":"digits","title":"Shows"},"question":{"type":"string","maxLength":300,"minLength":1,"title":"Question"},"unit":{"anyOf":[{"type":"string","maxLength":12,"minLength":1},{"type":"null"}],"title":"Unit"},"min":{"type":"number","title":"Min"},"max":{"type":"number","title":"Max"},"decimals":{"type":"integer","maximum":4.0,"minimum":0.0,"title":"Decimals","default":0},"threshold":{"type":"number","maximum":0.99,"minimum":0.5,"title":"Threshold","description":"The score a reading must reach to be sure. Leave it out, or raise it; never set it under its kind's default (0.9, a level's 0.8): an unsure reading is fixed by its words or its crop, not by its bar.","default":0.9}},"additionalProperties":false,"type":"object","required":["type","shows","question","min","max"],"title":"DigitsField","description":"The digits a display or counter shows: sure when the reader's confidence reaches the threshold."},"Dismissed":{"properties":{"dismissed":{"type":"boolean","title":"Dismissed"}},"additionalProperties":false,"type":"object","required":["dismissed"],"title":"Dismissed","description":"A notice put away."},"Dropped":{"properties":{"kind":{"type":"string","const":"dropped","title":"Kind","default":"dropped"},"why":{"type":"string","enum":["no_surer","replaced","recovered","outdated","too_few_sure"],"title":"Why"}},"additionalProperties":false,"type":"object","required":["why"],"title":"Dropped","description":"A proposal Dialect withdrew before a person decided, and why: a re-aim's, or one that read sure on too few of its\nfresh frames to stand."},"EmailAlertsShown":{"properties":{"available":{"type":"boolean","title":"Available"},"on":{"type":"boolean","title":"On"},"recipients":{"items":{"type":"string"},"type":"array","title":"Recipients"},"people":{"items":{"$ref":"#/components/schemas/Person"},"type":"array","title":"People"},"alerts":{"items":{"$ref":"#/components/schemas/RuleSaid"},"type":"array","title":"Alerts"},"recent":{"items":{"$ref":"#/components/schemas/Delivery"},"type":"array","title":"Recent"},"failing":{"anyOf":[{"$ref":"#/components/schemas/MailFault"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["available","on","recipients","people","alerts","recent","failing"],"title":"EmailAlertsShown"},"EndpointDraft":{"properties":{"name":{"type":"string","pattern":"^[a-z][a-z0-9_]{1,39}$","title":"Name"},"title":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[^\u0000-\u001f  ]+$","title":"Title"},"gateway_id":{"type":"string","maxLength":120,"minLength":1,"title":"Gateway Id"},"fields":{"patternProperties":{"^[a-z][a-z0-9_]{0,39}$":{"anyOf":[{"$ref":"#/components/schemas/ChoiceField-Input"},{"$ref":"#/components/schemas/YesNoField-Input"},{"$ref":"#/components/schemas/LevelField-Input"},{"$ref":"#/components/schemas/ColourField-Input"},{"$ref":"#/components/schemas/DialField-Input"},{"$ref":"#/components/schemas/DigitsField-Input"},{"$ref":"#/components/schemas/TextField-Input"}]}},"type":"object","maxProperties":20,"minProperties":1,"title":"Fields"},"every_s":{"type":"integer","maximum":3600.0,"minimum":2.0,"title":"Every S","default":5},"record":{"type":"string","enum":["changes","all"],"title":"Record","default":"changes"},"alerts":{"items":{"oneOf":[{"$ref":"#/components/schemas/ExactAlert"},{"$ref":"#/components/schemas/AboveAlert"},{"$ref":"#/components/schemas/BelowAlert"}]},"type":"array","maxItems":20,"title":"Alerts","default":[]}},"additionalProperties":false,"type":"object","required":["name","title","gateway_id","fields"],"title":"EndpointDraft","description":"An endpoint as written: what the reference says of one, as OpenAPI can carry it."},"EndpointEdit":{"properties":{"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose","description":"What the endpoint is for"},"log_schedule":{"anyOf":[{"properties":{"times":{"items":{"type":"string","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$"},"type":"array","maxItems":24,"minItems":1,"description":"Local times of day, HH:MM: [\"08:00\", \"16:00\"]"},"weekdays":{"items":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"type":"array","maxItems":7,"minItems":1,"description":"The days it is logged on: [\"mon\", \"tue\", \"wed\", \"thu\", \"fri\"] for weekdays"},"time_zone":{"type":"string","description":"The person's IANA time zone, like America/Chicago"}},"additionalProperties":false,"type":"object","required":["times","weekdays","time_zone"]},{"type":"null"}],"title":"Log Schedule","description":"When it is logged: {times: [\"08:00\", ...], weekdays: [\"mon\", ...], time_zone}; null stops logging"}},"additionalProperties":false,"type":"object","title":"EndpointEdit","description":"What a person changes of an endpoint in place, with no new version. Only the keys sent change (a field mask, as\nAIP-134 has it): one left out stays as it is, and null clears it."},"EndpointListed":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"version":{"type":"integer","title":"Version"},"gateway_id":{"type":"string","title":"Gateway Id"},"title":{"type":"string","title":"Title"},"spec":{"$ref":"#/components/schemas/Spec"},"summary":{"items":{"type":"string"},"type":"array","title":"Summary","description":"The lines a person confirms"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"log_schedule":{"anyOf":[{"$ref":"#/components/schemas/LogSchedule"},{"type":"null"}]},"log_since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Log Since"},"state":{"type":"string","enum":["proposed","active","paused","declined","replaced","stopped"],"title":"State"},"proposed_by":{"type":"string","title":"Proposed By"},"confirmed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confirmed By"},"created_at":{"type":"number","title":"Created At"},"confirmed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confirmed At"},"running_since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Running Since"},"ended_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ended At"},"ended_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ended By"},"turned_down":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turned Down"},"anchors":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AnchorKept"},"type":"object"},{"type":"null"}],"title":"Anchors"},"camera":{"$ref":"#/components/schemas/CameraShown"},"frame":{"anyOf":[{"$ref":"#/components/schemas/FrameShown"},{"type":"null"}]},"set_up":{"anyOf":[{"$ref":"#/components/schemas/SetUp"},{"type":"null"}]},"placed":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/PlacedBy"},"type":"object"},{"type":"null"}],"title":"Placed"},"fresh_check":{"anyOf":[{"$ref":"#/components/schemas/FreshCheck"},{"type":"null"}]},"reaims_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reaims Version"},"waits_why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waits Why"},"cause":{"oneOf":[{"$ref":"#/components/schemas/Proposed"},{"$ref":"#/components/schemas/Rewording"},{"$ref":"#/components/schemas/Barred"},{"$ref":"#/components/schemas/Reaimed"},{"$ref":"#/components/schemas/Dropped"},{"$ref":"#/components/schemas/Unknown"}],"title":"Cause","discriminator":{"propertyName":"kind","mapping":{"bar":"#/components/schemas/Barred","dropped":"#/components/schemas/Dropped","proposed":"#/components/schemas/Proposed","reaimed":"#/components/schemas/Reaimed","reworded":"#/components/schemas/Rewording","unknown":"#/components/schemas/Unknown"}}},"values":{"additionalProperties":{"$ref":"#/components/schemas/FreshValue"},"type":"object","title":"Values"},"checked_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Checked At"},"observations":{"type":"integer","title":"Observations"},"unchanged_checks":{"type":"integer","title":"Unchanged Checks"},"uncertain":{"type":"integer","title":"Uncertain"},"dropped_why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dropped Why"},"paused":{"anyOf":[{"$ref":"#/components/schemas/Paused"},{"type":"null"}]},"alert_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Alert Keys"},"crops":{"anyOf":[{"items":{"$ref":"#/components/schemas/KeptCrop"},"type":"array"},{"type":"null"}],"title":"Crops"},"request":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request"},"fields":{"additionalProperties":{"$ref":"#/components/schemas/FieldListed"},"type":"object","title":"Fields"},"seen":{"additionalProperties":{"$ref":"#/components/schemas/SeenStates"},"type":"object","title":"Seen"},"alerts":{"items":{"$ref":"#/components/schemas/RuleSaid"},"type":"array","title":"Alerts"},"fresh":{"type":"boolean","title":"Fresh"},"freshness":{"type":"string","enum":["paused","stopped","offline","live","starting","stale"],"title":"Freshness"},"gateway_status":{"$ref":"#/components/schemas/GatewayStage"},"gateway_heartbeat_at":{"type":"number","title":"Gateway Heartbeat At"}},"additionalProperties":false,"type":"object","required":["id","name","version","gateway_id","title","spec","summary","why","purpose","log_schedule","log_since","state","proposed_by","confirmed_by","created_at","confirmed_at","running_since","ended_at","ended_by","turned_down","anchors","camera","frame","set_up","placed","fresh_check","reaims_version","waits_why","cause","values","checked_at","observations","unchanged_checks","uncertain","dropped_why","paused","alert_keys","fields","seen","alerts","fresh","freshness","gateway_status","gateway_heartbeat_at"],"title":"EndpointListed","description":"A live version in the list of endpoints, with whether its values are current."},"EndpointRead":{"properties":{"name":{"type":"string","title":"Name"},"title":{"type":"string","title":"Title"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"version":{"type":"integer","title":"Version"},"gateway_id":{"type":"string","title":"Gateway Id"},"checked_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Checked At"},"fresh":{"type":"boolean","title":"Fresh"},"paused":{"anyOf":[{"$ref":"#/components/schemas/Paused"},{"type":"null"}]},"camera":{"$ref":"#/components/schemas/CameraShown"},"values":{"additionalProperties":{"$ref":"#/components/schemas/FreshValue"},"type":"object","title":"Values"},"seen":{"additionalProperties":{"$ref":"#/components/schemas/SeenStates"},"type":"object","title":"Seen"}},"additionalProperties":false,"type":"object","required":["name","title","purpose","version","gateway_id","checked_at","fresh","paused","camera","values","seen"],"title":"EndpointRead","description":"An endpoint's current values."},"ExactAlert":{"properties":{"for_s":{"type":"integer","maximum":86400.0,"minimum":0.0,"title":"For S","description":"How long it must hold before it opens","default":0},"clear_for_s":{"type":"integer","maximum":3600.0,"minimum":0.0,"title":"Clear For S","description":"How long it must be clear before it closes","default":0},"priority":{"type":"string","enum":["low","high","urgent"],"title":"Priority","default":"high"},"remind_every_s":{"anyOf":[{"type":"integer","maximum":86400.0,"minimum":300.0,"description":"Remind this often while it is open and unclaimed"},{"type":"null"}],"title":"Remind Every S"},"if_no_sure_value_for_s":{"anyOf":[{"type":"integer","maximum":86400.0,"minimum":600.0},{"type":"null"}],"title":"If No Sure Value For S","description":"Also open when the field has had no sure value for this long"},"field":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$","title":"Field"},"is":{"items":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]},"type":"array","maxItems":12,"minItems":1,"title":"Is"}},"additionalProperties":false,"type":"object","required":["field","is"],"title":"ExactAlert","description":"When a choice, yes_no, level or colour field reads one of `is`: its answers, levels, states, or true/false."},"ExpiringToken":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"expires_at":{"type":"number","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["id","name","expires_at"],"title":"ExpiringToken"},"Failing":{"properties":{"endpoint":{"type":"string","title":"Endpoint"},"title":{"type":"string","title":"Title"},"fields":{"items":{"type":"string"},"type":"array","title":"Fields"},"since":{"type":"number","title":"Since","description":"When the oldest of their runs of failed reads began"},"picture_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture Id"},"said":{"$ref":"#/components/schemas/Said"}},"additionalProperties":false,"type":"object","required":["endpoint","title","fields","since","picture_id","said"],"title":"Failing","description":"Dialect's reads of these fields have been failing: its fault, nothing for the person to fix."},"FieldListed":{"properties":{"type":{"type":"string","title":"Type"},"values":{"items":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"}]},"type":"array","title":"Values"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"asks":{"type":"string","title":"Asks"}},"additionalProperties":false,"type":"object","required":["type","values"],"title":"FieldListed"},"FieldSummary":{"properties":{"type":{"type":"string","title":"Type"},"at_start":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"At Start"},"at_end":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"At End"},"values":{"items":{"$ref":"#/components/schemas/TimeInValue"},"type":"array","title":"Values"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max"},"average":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Average"},"readings":{"type":"integer","title":"Readings"},"unsure_s":{"type":"number","title":"Unsure S"},"unknown_s":{"type":"number","title":"Unknown S"},"unsure_s_by_why":{"additionalProperties":{"type":"number"},"type":"object","title":"Unsure S By Why"},"unsure_why":{"additionalProperties":{"type":"number"},"type":"object","title":"Unsure Why"}},"additionalProperties":false,"type":"object","required":["type","at_start","at_end","unsure_s","unknown_s","unsure_s_by_why","unsure_why"],"title":"FieldSummary","description":"A choice's time in each value (`values`), or a number's range (`min`, `max`, `average`, `readings`)."},"FieldValueSchema":{"properties":{"type":{"type":"string","const":"object","title":"Type"},"description":{"type":"string","title":"Description"},"properties":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Properties"},"required":{"items":{"type":"string"},"type":"array","title":"Required"}},"additionalProperties":false,"type":"object","required":["type","properties","required"],"title":"FieldValueSchema","description":"The JSON Schema of one field's value."},"FrameShown":{"properties":{"id":{"type":"integer","title":"Id"},"picture_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture Id"},"observed_at":{"type":"number","title":"Observed At"},"reason":{"type":"string","title":"Reason"},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"},"anchors":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AnchorSeen"},"type":"object"},{"type":"null"}],"title":"Anchors"},"regions":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/Box"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Regions"}},"additionalProperties":false,"type":"object","required":["id","picture_id","observed_at","reason","width","height","anchors","regions"],"title":"FrameShown"},"FreshCheck":{"properties":{"state":{"type":"string","enum":["checking","passed","failed"],"title":"State"},"since":{"type":"number","title":"Since"},"at":{"type":"number","title":"At"},"frames":{"type":"integer","title":"Frames"},"why":{"type":"string","title":"Why"},"field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field"},"steady":{"additionalProperties":{"$ref":"#/components/schemas/Steadiness"},"type":"object","title":"Steady"},"now":{"additionalProperties":{"$ref":"#/components/schemas/ReadNow"},"type":"object","title":"Now"},"anchors":{"additionalProperties":{"$ref":"#/components/schemas/AnchorSeen"},"type":"object","title":"Anchors"},"sure_on":{"$ref":"#/components/schemas/SureOn"}},"additionalProperties":false,"type":"object","required":["state"],"title":"FreshCheck","description":"How a proposal read on fresh frames."},"FreshValue":{"properties":{"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value"},"missing":{"anyOf":[{"type":"string","enum":["never_read","read_failed","no_answer_fits","not_in_view","covered","nothing_shown"]},{"type":"null"}],"title":"Missing"},"quality":{"type":"string","enum":["valid","uncertain","none"],"title":"Quality"},"doubt":{"anyOf":[{"type":"string","enum":["reading","target_moved","target_at_edge","target_unlocated","camera_moved","unseen"]},{"type":"null"}],"title":"Doubt"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"observed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Observed At","description":"When a read or a check that the picture hadn't changed confirmed it"},"read_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Read At","description":"When it was last actually read"},"since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Since","description":"When it took this value"},"target":{"anyOf":[{"$ref":"#/components/schemas/TargetLooked"},{"type":"null"}]},"source":{"type":"string","enum":["gateway","dialect"],"title":"Source"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"last_sure":{"anyOf":[{"$ref":"#/components/schemas/LastSure"},{"type":"null"}]},"sure_read":{"anyOf":[{"$ref":"#/components/schemas/SureRead"},{"type":"null"}]},"failed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Failed At","description":"When the latest read failed, while the value held is from before"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"fresh":{"type":"boolean","title":"Fresh","description":"Whether it is current: confirmed lately, by a gateway online now"}},"additionalProperties":false,"type":"object","required":["value","missing","quality","doubt","confidence","observed_at","read_at","since","target","source","detail","last_sure","failed_at","type","unit","fresh"],"title":"FreshValue"},"GatewayAlertShown":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","enum":["gateway_offline","gateway_health"],"title":"Kind"},"gateway_id":{"type":"string","title":"Gateway Id"},"sentence":{"type":"string","title":"Sentence"},"priority":{"type":"string","title":"Priority"},"state":{"type":"string","enum":["open","closed"],"title":"State"},"silent_since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Silent Since"},"problem":{"type":"string","title":"Problem"},"started_at":{"type":"number","title":"Started At"},"opened_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Opened At"},"closed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Closed At"},"close_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Close Reason"},"offline_s":{"type":"number","title":"Offline S"},"observed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Observed At"},"endpoint":{"type":"null","title":"Endpoint"},"title":{"type":"string","title":"Title"},"field":{"type":"null","title":"Field"},"rule":{"type":"null","title":"Rule"},"handling":{"type":"null","title":"Handling"},"notes":{"items":{"$ref":"#/components/schemas/AlertNote"},"type":"array","title":"Notes"},"shelved":{"type":"null","title":"Shelved"},"inhibited_by":{"type":"null","title":"Inhibited By"},"escalated_at":{"type":"null","title":"Escalated At"}},"additionalProperties":false,"type":"object","required":["id","kind","gateway_id","sentence","priority","state","started_at","opened_at","closed_at","close_reason","observed_at","endpoint","title","field","rule","handling","notes","shelved","inhibited_by","escalated_at"],"title":"GatewayAlertShown","description":"A gateway silent, or with a problem such as a full disk. These can't be claimed, shelved or escalated."},"GatewayChannel":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","title":"Kind"},"detail":{"type":"string","title":"Detail"}},"additionalProperties":false,"type":"object","required":["id","kind"],"title":"GatewayChannel"},"GatewayHealthSaid":{"properties":{"state":{"type":"string","enum":["healthy","problem"],"title":"State"},"problem":{"anyOf":[{"type":"string","enum":["power_low","hot","disk_low","memory_low","restarting","network_repairs","wifi_drops","wifi_weak","checks_late"]},{"type":"null"}],"title":"Problem"},"sentence":{"type":"string","title":"Sentence"},"since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Since"},"reported_at":{"type":"number","title":"Reported At"}},"additionalProperties":false,"type":"object","required":["state","problem","sentence","since","reported_at"],"title":"GatewayHealthSaid"},"GatewayStage":{"type":"string","enum":["revoked","invited","connecting","stopped","online","offline"],"title":"GatewayStage"},"Handling":{"properties":{"note":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","title":"Handling"},"Held":{"properties":{"since":{"type":"number","title":"Since"},"end":{"type":"number","title":"End"},"runs":{"items":{"$ref":"#/components/schemas/HeldRun"},"type":"array","title":"Runs"}},"additionalProperties":false,"type":"object","required":["since","end","runs"],"title":"Held"},"HeldRun":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"field":{"type":"string","title":"Field"},"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"},"known":{"type":"boolean","title":"Known"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"values":{"items":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"}]},"type":"array","title":"Values"},"leaning":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Leaning"},"sure_s":{"type":"number","title":"Sure S"},"slivers":{"items":{"$ref":"#/components/schemas/Sliver"},"type":"array","title":"Slivers"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"additionalProperties":false,"type":"object","required":["id","field","start","end","known","value","why","values","leaning","sure_s","slivers","type","unit"],"title":"HeldRun","description":"A stretch of one value, or of none."},"History":{"properties":{"changes":{"items":{"$ref":"#/components/schemas/HistoryRow"},"type":"array","title":"Changes"},"after":{"type":"integer","title":"After"},"before":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Before"},"total":{"type":"integer","title":"Total","description":"Every row in the window, whatever page this is"},"older":{"type":"integer","title":"Older"},"newer":{"type":"integer","title":"Newer"}},"additionalProperties":false,"type":"object","required":["changes","after","before","total","older","newer"],"title":"History"},"HistoryRow":{"properties":{"id":{"type":"integer","title":"Id"},"version_id":{"type":"string","title":"Version Id"},"name":{"type":"string","title":"Name"},"gateway_id":{"type":"string","title":"Gateway Id"},"field":{"type":"string","title":"Field"},"observed_at":{"type":"number","title":"Observed At"},"received_at":{"type":"number","title":"Received At"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value"},"quality":{"type":"string","title":"Quality"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"changed":{"type":"boolean","title":"Changed"},"alert":{"type":"boolean","title":"Alert","description":"It opened an alert"},"alert_ended":{"type":"boolean","title":"Alert Ended","description":"It closed the last alert open"},"detail":{"type":"string","title":"Detail"},"held":{"type":"boolean","title":"Held","description":"Sure by an earlier reading of the same picture, not on its own; its detail says so too"},"probabilities":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Probabilities"},"picture_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture Id"},"has_photo":{"type":"boolean","title":"Has Photo"},"frame_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Frame Id"},"missing":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Missing"},"target":{"anyOf":[{"$ref":"#/components/schemas/TargetLooked"},{"type":"null"}]},"doubt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doubt"},"clock":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clock"},"source":{"type":"string","title":"Source"},"label":{"anyOf":[{"$ref":"#/components/schemas/LabelShown"},{"type":"null"}]},"late":{"type":"boolean","title":"Late","description":"Heard more than a minute after it was observed"},"thumb_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumb Id"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"what_changed":{"type":"string","enum":["value","certainty","nothing","first"],"title":"What Changed"},"previous":{"anyOf":[{"$ref":"#/components/schemas/Previous"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","version_id","name","gateway_id","field","observed_at","received_at","value","quality","confidence","changed","alert","alert_ended","detail","held","probabilities","picture_id","has_photo","frame_id","missing","target","doubt","clock","source","label","late","thumb_id","type","unit","what_changed","previous"],"title":"HistoryRow"},"Id":{"properties":{"kind":{"type":"string","const":"id","title":"Kind"},"id":{"type":"string","title":"Id"}},"additionalProperties":false,"type":"object","required":["kind","id"],"title":"Id","description":"An identifier, set in mono: a gateway's."},"JsonValue":{},"KeptCrop":{"properties":{"picture_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture Id"},"thumb_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumb Id"},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"},"fields":{"items":{"type":"string"},"type":"array","title":"Fields"},"readings":{"additionalProperties":{"$ref":"#/components/schemas/KeptCropReading"},"type":"object","title":"Readings"}},"additionalProperties":false,"type":"object","required":["picture_id","thumb_id","width","height","fields","readings"],"title":"KeptCrop","description":"A crop a test read, kept for the person confirming."},"KeptCropReading":{"properties":{"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"}},"additionalProperties":false,"type":"object","required":["value","confidence"],"title":"KeptCropReading"},"LabelShown":{"properties":{"id":{"type":"string","title":"Id"},"answer":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Answer"},"status":{"type":"string","title":"Status"},"by":{"type":"string","title":"By"},"at":{"type":"number","title":"At"}},"additionalProperties":false,"type":"object","required":["id","answer","status","by","at"],"title":"LabelShown","description":"What a person said a reading truly was."},"LastSure":{"properties":{"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"}],"title":"Value"},"at":{"type":"number","title":"At"}},"additionalProperties":false,"type":"object","required":["value","at"],"title":"LastSure"},"LevelField-Input":{"properties":{"type":{"type":"string","const":"level","title":"Type"},"asks":{"anyOf":[{"type":"string","maxLength":80,"minLength":3},{"type":"null"}],"title":"Asks","description":"The question a person would put about this field, in their own words, 3 to 80 characters: \"Is anything on or beside the valve?\". Shown to people; it never changes what is read."},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]},"target":{"anyOf":[{"$ref":"#/components/schemas/SeenTarget"},{"$ref":"#/components/schemas/Target"},{"type":"null"}],"title":"Target"},"anchor":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Anchor"},"question":{"type":"string","maxLength":300,"minLength":1,"title":"Question"},"levels":{"patternProperties":{"^[a-z0-9][a-z0-9_-]{0,39}$":{"type":"string","maxLength":300,"minLength":1}},"type":"object","maxProperties":7,"minProperties":2,"title":"Levels"},"threshold":{"type":"number","maximum":0.99,"minimum":0.5,"title":"Threshold","description":"The score a reading must reach to be sure. Leave it out, or raise it; never set it under its kind's default (0.9, a level's 0.8): an unsure reading is fixed by its words or its crop, not by its bar.","default":0.8}},"additionalProperties":false,"type":"object","required":["type","question","levels"],"title":"LevelField","description":"One of ordered levels, lowest first."},"LevelField-Output":{"properties":{"type":{"type":"string","const":"level","title":"Type"},"asks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asks","description":"The question a person would put about this field, in their own words, 3 to 80 characters: \"Is anything on or beside the valve?\". Shown to people; it never changes what is read."},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]},"target":{"anyOf":[{"$ref":"#/components/schemas/SeenTarget"},{"$ref":"#/components/schemas/Target"},{"type":"null"}],"title":"Target"},"anchor":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Anchor"},"question":{"type":"string","maxLength":300,"minLength":1,"title":"Question"},"levels":{"patternProperties":{"^[a-z0-9][a-z0-9_-]{0,39}$":{"type":"string","maxLength":300,"minLength":1}},"type":"object","maxProperties":7,"minProperties":2,"title":"Levels"},"threshold":{"type":"number","maximum":0.99,"minimum":0.5,"title":"Threshold","description":"The score a reading must reach to be sure. Leave it out, or raise it; never set it under its kind's default (0.9, a level's 0.8): an unsure reading is fixed by its words or its crop, not by its bar.","default":0.8}},"additionalProperties":false,"type":"object","required":["type","question","levels"],"title":"LevelField","description":"One of ordered levels, lowest first."},"LiveToken":{"properties":{"token":{"type":"string","title":"Token"},"expires_at":{"type":"number","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["token","expires_at"],"title":"LiveToken"},"Locate":{"properties":{"objects":{"items":{"type":"string","maxLength":120,"minLength":3},"type":"array","maxItems":5,"minItems":1,"title":"Objects"}},"additionalProperties":false,"type":"object","required":["objects"],"title":"Locate","description":"Things to find in a gateway's view, each described as a person would (\"the Dell monitor's screen\")."},"Located":{"properties":{"found":{"type":"boolean","title":"Found"},"present":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Present"},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["found","present","region"],"title":"Located"},"LogEntry":{"properties":{"id":{"type":"string","title":"Id","description":"Opaque and stable"},"endpoint":{"type":"string","title":"Endpoint","description":"The endpoint's name"},"title":{"type":"string","title":"Title"},"gateway_id":{"type":"string","title":"Gateway Id"},"scheduled_at":{"type":"number","title":"Scheduled At","description":"The instant it was scheduled for, Unix seconds"},"local_date":{"type":"string","title":"Local Date","description":"The schedule's local date, \"2026-10-27\""},"local_time":{"type":"string","title":"Local Time","description":"The schedule's local time, \"08:00\"; a time the clocks skipped is logged at the next minute and still said as scheduled"},"time_zone":{"type":"string","title":"Time Zone","description":"The schedule's IANA time zone"},"state":{"type":"string","title":"State","description":"missing if a field is, else unsure if a field is, else read. Open."},"picture_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture Id","description":"The frame nearest the scheduled time, for GET /v1/pictures/{id}; null when none was near or it is no longer kept"},"has_photo":{"type":"boolean","title":"Has Photo","description":"Whether picture_id names a picture still kept"},"picture_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Picture At","description":"When that frame was taken, Unix seconds"},"values":{"additionalProperties":{"$ref":"#/components/schemas/LogValue"},"type":"object","title":"Values","description":"Each field, in the order the endpoint names them"},"created_at":{"type":"number","title":"Created At"},"updated_at":{"type":"number","title":"Updated At","description":"When a person last read a field of it, else created_at"}},"additionalProperties":false,"type":"object","required":["id","endpoint","title","gateway_id","scheduled_at","local_date","local_time","time_zone","state","picture_id","has_photo","picture_at","values","created_at","updated_at"],"title":"LogEntry","description":"What an endpoint showed at one scheduled time. Every key is always present; null where there is no value. Times\nare Unix seconds, as everywhere in Dialect's API; local_date, local_time and time_zone are the schedule's."},"LogPage":{"properties":{"entries":{"items":{"$ref":"#/components/schemas/LogEntry"},"type":"array","title":"Entries","description":"Oldest scheduled first, then by id; with newest, newest first, then by id descending"},"next_after":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next After","description":"Pass back as after, with the same newest, for the next page; null on the last"}},"additionalProperties":false,"type":"object","required":["entries","next_after"],"title":"LogPage"},"LogRead":{"properties":{"outcome":{"type":"string","enum":["read","cant_tell"],"title":"Outcome","description":"read: values holds what they read. cant_tell: fields lists those the photo doesn't show. Open: more outcomes may come.","default":"read"},"values":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object","minProperties":1},{"type":"null"}],"title":"Values","description":"With outcome read: each field's value, as the field takes it"},"fields":{"anyOf":[{"items":{"type":"string"},"type":"array","minItems":1},{"type":"null"}],"title":"Fields","description":"With outcome cant_tell: the fields they can't tell, each once"}},"additionalProperties":false,"type":"object","title":"LogRead","description":"What a person said of an entry's fields from its photo: the values they read, or the fields they can't tell."},"LogSchedule":{"properties":{"times":{"items":{"type":"string"},"type":"array","title":"Times"},"weekdays":{"items":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"type":"array","title":"Weekdays"},"time_zone":{"type":"string","maxLength":64,"title":"Time Zone"}},"additionalProperties":false,"type":"object","required":["times","weekdays","time_zone"],"title":"LogSchedule","description":"Times of day (\"08:00\"), on weekdays, in an IANA time zone. Valid by construction: every way of making one runs\nits validators, a stored one read back too."},"LogValue":{"properties":{"state":{"type":"string","title":"State","description":"One of read, unsure or missing. Open: take a value you don't know as missing. read once a person read it."},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"description":"The value the log holds; null while missing"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","description":"The field's type: choice, yes_no, level, colour, number or text"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"A number field's unit; else null"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","description":"Why it is unsure or missing; null once read"},"sentence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sentence","description":"The reason as a sheet says it; null once read"},"read_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Read At","description":"When it was read, Unix seconds: by the gateway, or by the person"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Who recorded the value: dialect, or person. Open. Null while missing."},"read_by":{"anyOf":[{"$ref":"#/components/schemas/ReadBy"},{"type":"null"}],"description":"The person who read it; null when Dialect did, or nobody yet"},"checked":{"anyOf":[{"$ref":"#/components/schemas/PersonCheck"},{"type":"null"}],"description":"A person looked at it from the photo: read it, or said they can't tell (then the field keeps what Dialect recorded); null when nobody did"},"dialect":{"$ref":"#/components/schemas/Recorded","description":"What Dialect recorded at the scheduled time"}},"additionalProperties":false,"type":"object","required":["state","value","type","unit","reason","sentence","read_at","source","read_by","checked","dialect"],"title":"LogValue","description":"One field of an entry: what the log holds for it, a person's value where they read it, else Dialect's."},"MailFault":{"properties":{"fault":{"type":"string","title":"Fault"},"at":{"type":"number","title":"At"}},"additionalProperties":false,"type":"object","required":["fault","at"],"title":"MailFault"},"MarkedThing":{"properties":{"what":{"type":"string","title":"What"},"box":{"$ref":"#/components/schemas/Box"}},"additionalProperties":false,"type":"object","required":["what","box"],"title":"MarkedThing"},"Needs":{"properties":{"alerts":{"items":{"$ref":"#/components/schemas/Alert"},"type":"array","title":"Alerts"},"proposals":{"items":{"$ref":"#/components/schemas/Proposal-Output"},"type":"array","title":"Proposals"},"reaims":{"items":{"$ref":"#/components/schemas/Reaim"},"type":"array","title":"Reaims"},"quiet_reaims":{"items":{"$ref":"#/components/schemas/Reaim"},"type":"array","title":"Quiet Reaims","description":"Re-aims that couldn't on endpoints with no alerts: for that endpoint's own page, never a need"},"quiet_fixes":{"items":{"$ref":"#/components/schemas/Proposal-Output"},"type":"array","title":"Quiet Fixes","description":"Dialect's fixes waiting on endpoints with no alerts: for that endpoint's own page, never a need"},"gateways":{"items":{"$ref":"#/components/schemas/OfflineGateway"},"type":"array","title":"Gateways"},"unhealthy":{"items":{"$ref":"#/components/schemas/Unhealthy"},"type":"array","title":"Unhealthy"},"cameras":{"items":{"$ref":"#/components/schemas/Camera"},"type":"array","title":"Cameras"},"unsure":{"items":{"$ref":"#/components/schemas/Unsure"},"type":"array","title":"Unsure"},"failing":{"items":{"$ref":"#/components/schemas/Failing"},"type":"array","title":"Failing"},"webhooks":{"items":{"$ref":"#/components/schemas/PausedWebhook"},"type":"array","title":"Webhooks"},"tokens":{"items":{"$ref":"#/components/schemas/ExpiringToken"},"type":"array","title":"Tokens"},"log_entries":{"items":{"$ref":"#/components/schemas/LogEntry"},"type":"array","title":"Log Entries"},"now":{"type":"number","title":"Now"}},"additionalProperties":false,"type":"object","required":["alerts","proposals","reaims","quiet_reaims","quiet_fixes","gateways","unhealthy","cameras","unsure","failing","webhooks","tokens","log_entries","now"],"title":"Needs","description":"What needs the caller now, each kind only what they can act on."},"NewestReading":{"properties":{"change_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Change Id"},"label":{"anyOf":[{"$ref":"#/components/schemas/LabelShown"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["change_id","label"],"title":"NewestReading"},"NewestReadings":{"properties":{"name":{"type":"string","title":"Name"},"fields":{"additionalProperties":{"$ref":"#/components/schemas/NewestReading"},"type":"object","title":"Fields"}},"additionalProperties":false,"type":"object","required":["name","fields"],"title":"NewestReadings"},"Note":{"properties":{"note":{"type":"string","maxLength":4000,"minLength":1,"title":"Note"}},"additionalProperties":false,"type":"object","required":["note"],"title":"Note"},"NoteKept":{"properties":{"key":{"type":"string","title":"Key"},"note":{"type":"string","title":"Note"},"updated_by":{"type":"string","title":"Updated By"},"updated_at":{"type":"number","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["key","note","updated_by","updated_at"],"title":"NoteKept"},"Notes":{"properties":{"notes":{"items":{"$ref":"#/components/schemas/NoteKept"},"type":"array","title":"Notes"},"matched":{"type":"integer","title":"Matched"}},"additionalProperties":false,"type":"object","required":["notes","matched"],"title":"Notes"},"Offer":{"properties":{"question":{"type":"string","title":"Question","description":"The question, as the request of the setup it starts"},"gateway_id":{"type":"string","title":"Gateway Id","description":"The camera it read sure on, where that setup runs"}},"additionalProperties":false,"type":"object","required":["question","gateway_id"],"title":"Offer","description":"A nearby question a run offers its person, as the console and dialect_setup_status show it."},"OfflineGateway":{"properties":{"id":{"type":"string","title":"Id"},"heartbeat_at":{"type":"number","title":"Heartbeat At"},"picture_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture Id"},"said":{"$ref":"#/components/schemas/Said"}},"additionalProperties":false,"type":"object","required":["id","heartbeat_at","picture_id","said"],"title":"OfflineGateway"},"OneChange":{"properties":{"id":{"type":"integer","title":"Id"},"version_id":{"type":"string","title":"Version Id"},"name":{"type":"string","title":"Name"},"gateway_id":{"type":"string","title":"Gateway Id"},"field":{"type":"string","title":"Field"},"observed_at":{"type":"number","title":"Observed At"},"received_at":{"type":"number","title":"Received At"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value"},"quality":{"type":"string","title":"Quality"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"changed":{"type":"boolean","title":"Changed"},"alert":{"type":"boolean","title":"Alert","description":"It opened an alert"},"alert_ended":{"type":"boolean","title":"Alert Ended","description":"It closed the last alert open"},"detail":{"type":"string","title":"Detail"},"held":{"type":"boolean","title":"Held","description":"Sure by an earlier reading of the same picture, not on its own; its detail says so too"},"probabilities":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Probabilities"},"picture_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture Id"},"has_photo":{"type":"boolean","title":"Has Photo"},"frame_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Frame Id"},"missing":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Missing"},"target":{"anyOf":[{"$ref":"#/components/schemas/TargetLooked"},{"type":"null"}]},"doubt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doubt"},"clock":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clock"},"source":{"type":"string","title":"Source"},"label":{"anyOf":[{"$ref":"#/components/schemas/LabelShown"},{"type":"null"}]},"late":{"type":"boolean","title":"Late","description":"Heard more than a minute after it was observed"},"thumb_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumb Id"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"frame":{"anyOf":[{"$ref":"#/components/schemas/FrameShown"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","version_id","name","gateway_id","field","observed_at","received_at","value","quality","confidence","changed","alert","alert_ended","detail","held","probabilities","picture_id","has_photo","frame_id","missing","target","doubt","clock","source","label","late","thumb_id","type","unit","frame"],"title":"OneChange"},"PastCrops":{"properties":{"gateway_id":{"type":"string","title":"Gateway Id"},"region":{"$ref":"#/components/schemas/Region"},"time_zone":{"type":"string","title":"Time Zone"},"crops":{"items":{"$ref":"#/components/schemas/PastFrame"},"type":"array","title":"Crops"},"not_kept":{"items":{"type":"string"},"type":"array","title":"Not Kept"},"note":{"type":"string","title":"Note"},"sheet_jpeg_base64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sheet Jpeg Base64"}},"additionalProperties":false,"type":"object","required":["gateway_id","region","time_zone","crops","not_kept","sheet_jpeg_base64"],"title":"PastCrops"},"PastFrame":{"properties":{"n":{"type":"integer","title":"N"},"picture_id":{"type":"string","title":"Picture Id"},"observed_at":{"type":"number","title":"Observed At"},"at":{"type":"string","title":"At"}},"additionalProperties":false,"type":"object","required":["n","picture_id","observed_at","at"],"title":"PastFrame"},"PastFrames":{"properties":{"gateway_id":{"type":"string","title":"Gateway Id"},"hours":{"type":"integer","title":"Hours"},"time_zone":{"type":"string","title":"Time Zone"},"kept":{"type":"integer","title":"Kept"},"left_out":{"type":"integer","title":"Left Out"},"frames":{"items":{"$ref":"#/components/schemas/PastFrame"},"type":"array","title":"Frames"},"region":{"$ref":"#/components/schemas/Region"},"note":{"type":"string","title":"Note"},"sheet_jpeg_base64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sheet Jpeg Base64"}},"additionalProperties":false,"type":"object","required":["gateway_id","hours","time_zone","kept","left_out","frames","sheet_jpeg_base64"],"title":"PastFrames"},"Paused":{"properties":{"since":{"type":"number","title":"Since"},"by":{"type":"string","title":"By"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"additionalProperties":false,"type":"object","required":["since","by","name"],"title":"Paused"},"PausedWebhook":{"properties":{"id":{"type":"string","title":"Id"},"endpoint":{"type":"string","title":"Endpoint"},"title":{"type":"string","title":"Title"},"paused_at":{"type":"number","title":"Paused At"}},"additionalProperties":false,"type":"object","required":["id","endpoint","title","paused_at"],"title":"PausedWebhook"},"Payment":{"properties":{"pay_url":{"type":"string","title":"Pay Url"},"contact":{"type":"string","title":"Contact"},"held":{"type":"string","enum":["pending","subscribed"],"title":"Held","description":"Why there is no pay_url: a payment is on its way (pending), or a subscription still bills the workspace (subscribed). Paying again would bill it twice."},"free_answer":{"type":"string","enum":["open","running","used"],"title":"Free Answer","description":"The workspace's one free answer, for this caller: open, running, or used"}},"additionalProperties":false,"type":"object","required":["contact","free_answer"],"title":"Payment"},"Person":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"additionalProperties":true,"type":"object","required":["id","name"],"title":"Person","description":"Someone who can receive these. Open: an answer may say more of them than this."},"PersonCheck":{"properties":{"outcome":{"type":"string","title":"Outcome","description":"read (they gave its value) or cant_tell (the photo doesn't show it). Open: take an unknown one as a person having looked without giving a value."},"by":{"$ref":"#/components/schemas/ReadBy","description":"Who looked"},"at":{"type":"number","title":"At","description":"When, Unix seconds"}},"additionalProperties":false,"type":"object","required":["outcome","by","at"],"title":"PersonCheck","description":"A person looked at a field from the entry's photo."},"PhotoNow":{"properties":{"picture_id":{"type":"string","title":"Picture Id"},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"}},"additionalProperties":false,"type":"object","required":["picture_id","width","height"],"title":"PhotoNow"},"PlacedBy":{"properties":{"by":{"type":"string","title":"By"},"object":{"type":"string","title":"Object"},"present":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Present"},"task_id":{"type":"string","title":"Task Id"}},"additionalProperties":false,"type":"object","required":["by"],"title":"PlacedBy","description":"How a field's place was decided."},"Previous":{"properties":{"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value"},"quality":{"type":"string","title":"Quality"}},"additionalProperties":false,"type":"object","required":["value","quality"],"title":"Previous"},"ProblemBody":{"properties":{"pay_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pay Url"},"manage_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manage Url"},"contact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact"},"held":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Held"},"needs_person":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Needs Person"},"detail":{"type":"string","title":"Detail"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"retry_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retry At"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"}},"additionalProperties":false,"type":"object","required":["detail"],"title":"ProblemBody","description":"What every REST error answer's body is: the sentence, the code a client branches on, when a limit lifts, the\nid of a request that failed unexpectedly, and a refusal's way to lift it. Nothing else, so a client can parse every\nerror one way."},"Proposal-Input":{"properties":{"endpoint":{"$ref":"#/components/schemas/EndpointDraft","title":"Endpoint"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"log_schedule":{"anyOf":[{"properties":{"times":{"items":{"type":"string","pattern":"^([01]?[0-9]|2[0-3]):[0-5][0-9]$"},"type":"array","maxItems":24,"minItems":1,"description":"Local times of day, HH:MM: [\"08:00\", \"16:00\"]"},"weekdays":{"items":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"type":"array","maxItems":7,"minItems":1,"description":"The days it is logged on: [\"mon\", \"tue\", \"wed\", \"thu\", \"fri\"] for weekdays"},"time_zone":{"type":"string","description":"The person's IANA time zone, like America/Chicago"}},"additionalProperties":false,"type":"object","required":["times","weekdays","time_zone"]},{"type":"null"}],"title":"Log Schedule"}},"additionalProperties":false,"type":"object","required":["endpoint"],"title":"Proposal"},"Proposal-Output":{"properties":{"id":{"type":"string","title":"Id"},"endpoint":{"type":"string","title":"Endpoint"},"title":{"type":"string","title":"Title"},"version":{"type":"integer","title":"Version"},"proposed_at":{"type":"number","title":"Proposed At"},"picture_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture Id"},"replaces_running":{"type":"boolean","title":"Replaces Running"},"tested":{"anyOf":[{"$ref":"#/components/schemas/Tested"},{"type":"null"}],"title":"Tested","description":"What a one-field proposal's test read"},"fix":{"type":"boolean","title":"Fix"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"fresh_check":{"anyOf":[{"$ref":"#/components/schemas/FreshCheck"},{"type":"null"}],"title":"Fresh Check","description":"How it read on fresh frames"},"waits_why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waits Why"},"said":{"$ref":"#/components/schemas/Said"}},"additionalProperties":false,"type":"object","required":["id","endpoint","title","version","proposed_at","picture_id","replaces_running","tested","fix","why","fresh_check","waits_why","said"],"title":"Proposal"},"ProposalShown":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"title":{"type":"string","title":"Title"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"log_schedule":{"anyOf":[{"$ref":"#/components/schemas/LogSchedule"},{"type":"null"}]},"version":{"type":"integer","title":"Version"},"gateway_id":{"type":"string","title":"Gateway Id"},"state":{"type":"string","enum":["proposed","active","paused","declined","replaced","stopped"],"title":"State"},"summary":{"items":{"type":"string"},"type":"array","title":"Summary"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"fields":{"additionalProperties":{"$ref":"#/components/schemas/FieldListed"},"type":"object","title":"Fields"},"seen":{"additionalProperties":{"$ref":"#/components/schemas/SeenStates"},"type":"object","title":"Seen"},"created_at":{"type":"number","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","name","title","purpose","log_schedule","version","gateway_id","state","summary","why","fields","seen","created_at"],"title":"ProposalShown","description":"A proposed version as its proposer sees it: what the person confirming reads."},"Proposed":{"properties":{"kind":{"type":"string","const":"proposed","title":"Kind","default":"proposed"}},"additionalProperties":false,"type":"object","title":"Proposed","description":"Proposed by an agent or a person, or changed by one at once with the confirmation carried over."},"PublicAs":{"properties":{"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"additionalProperties":false,"type":"object","required":["name","slug","url"],"title":"PublicAs","description":"Whether an endpoint is public, to its workspace: its slug and where anyone reads it, or null."},"Publish":{"properties":{"slug":{"type":"string","pattern":"^[a-z0-9](?:[a-z0-9-]{0,38}[a-z0-9])?$","title":"Slug"}},"additionalProperties":false,"type":"object","required":["slug"],"title":"Publish"},"Question":{"properties":{"question":{"type":"string","title":"Question"},"choices":{"items":{"type":"string"},"type":"array","title":"Choices","default":[]}},"additionalProperties":false,"type":"object","required":["question"],"title":"Question","description":"One short question a person at the scene can answer, and the answers Dialect expects, if it can name them,\nfor the person to tap."},"Reach":{"properties":{"x":{"type":"number","maximum":2.0,"minimum":-1.0,"title":"X"},"y":{"type":"number","maximum":2.0,"minimum":-1.0,"title":"Y"},"w":{"type":"number","maximum":3.0,"exclusiveMinimum":0.005,"title":"W"},"h":{"type":"number","maximum":3.0,"exclusiveMinimum":0.005,"title":"H"}},"additionalProperties":false,"type":"object","required":["x","y","w","h"],"title":"Reach","description":"A target's inner region, as x, y, w, h fractions of the box the target was found in. Usually inside it (0 to\n1); it may reach up to one box past each edge, for what a tight box clipped, and must overlap the box."},"ReadBy":{"properties":{"id":{"type":"string","title":"Id","description":"The person's identity id"},"name":{"type":"string","title":"Name","description":"Their name, as their workspace knows them"}},"additionalProperties":false,"type":"object","required":["id","name"],"title":"ReadBy"},"ReadNow":{"properties":{"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value"},"quality":{"type":"string","enum":["valid","uncertain","none"],"title":"Quality"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"doubt":{"anyOf":[{"type":"string","enum":["reading","target_moved","target_at_edge","target_unlocated","camera_moved","unseen"]},{"type":"null"}],"title":"Doubt"},"at":{"type":"number","title":"At"}},"additionalProperties":false,"type":"object","required":["value","quality","confidence","doubt","at"],"title":"ReadNow"},"Reaim":{"properties":{"endpoint":{"type":"string","title":"Endpoint"},"title":{"type":"string","title":"Title"},"run_id":{"type":"string","title":"Run Id"},"out_of_view":{"items":{"type":"string"},"type":"array","title":"Out Of View"},"photos":{"properties":{"set_up":{"anyOf":[{"$ref":"#/components/schemas/SetUpPhoto"},{"type":"null"}]},"now":{"anyOf":[{"$ref":"#/components/schemas/PhotoNow"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["set_up","now"],"title":"ReaimPhotos","description":"The view it was set up on beside the view now"},"unable":{"type":"string","title":"Unable"},"gateway_id":{"type":"string","title":"Gateway Id"},"no_answer_for":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"No Answer For"},"answers":{"anyOf":[{"$ref":"#/components/schemas/AnswersTorn"},{"type":"null"}],"title":"Answers","description":"Two answers that split its readers"},"ask":{"anyOf":[{"$ref":"#/components/schemas/Question"},{"type":"null"}],"title":"Ask","description":"The one thing it asks a person"},"reaiming":{"type":"boolean","title":"Reaiming"},"since":{"type":"number","title":"Since"},"picture_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture Id"},"said":{"$ref":"#/components/schemas/Said"}},"additionalProperties":false,"type":"object","required":["endpoint","title","run_id","out_of_view","photos","unable","gateway_id","no_answer_for","answers","ask","reaiming","since","picture_id","said"],"title":"Reaim"},"Reaimed":{"properties":{"kind":{"type":"string","const":"reaimed","title":"Kind","default":"reaimed"},"of":{"type":"string","title":"Of"},"fields":{"items":{"type":"string"},"type":"array","title":"Fields"},"moved_only":{"type":"boolean","title":"Moved Only"}},"additionalProperties":false,"type":"object","required":["of","fields","moved_only"],"title":"Reaimed","description":"A re-aim Dialect ran itself in place of the version it fixes: the fields it changed, and whether it only moved\nwhere they read."},"Recorded":{"properties":{"state":{"type":"string","title":"State","description":"One of read, unsure or missing. Open: take a value you don't know as missing."},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"description":"What it read; null when missing"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","description":"Why it is unsure (a doubt: reading, camera_moved, target_moved...) or missing (offline, paused, stopped, covered, not_in_view, read_failed, never_read...); null when read. Open."},"sentence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sentence","description":"The reason as a sheet says it: \"No reading: camera offline\""},"read_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Read At","description":"When the gateway took the reading, Unix seconds; null when missing"}},"additionalProperties":false,"type":"object","required":["state","value","reason","sentence","read_at"],"title":"Recorded","description":"A field as Dialect recorded it at the scheduled time, kept whatever a person read since."},"Region":{"properties":{"x":{"type":"number","maximum":1.0,"minimum":0.0,"title":"X"},"y":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Y"},"w":{"type":"number","maximum":1.0,"exclusiveMinimum":0.005,"title":"W"},"h":{"type":"number","maximum":1.0,"exclusiveMinimum":0.005,"title":"H"}},"additionalProperties":false,"type":"object","required":["x","y","w","h"],"title":"Region","description":"Fractions of the frame, so an endpoint survives a change of camera resolution."},"Rewording":{"properties":{"kind":{"type":"string","const":"reworded","title":"Kind","default":"reworded"},"of":{"type":"string","title":"Of"},"field":{"type":"string","title":"Field"},"before":{"$ref":"#/components/schemas/Worded"},"after":{"$ref":"#/components/schemas/Worded"},"evidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence"}},"additionalProperties":false,"type":"object","required":["of","field","before","after","evidence"],"title":"Rewording","description":"Dialect asked one field in new words; evidence: what its check found, a clause."},"RuleSaid":{"properties":{"field":{"type":"string","title":"Field"},"is":{"items":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"}]},"type":"array","title":"Is"},"above":{"type":"number","title":"Above"},"below":{"type":"number","title":"Below"},"ends_below":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ends Below"},"ends_above":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ends Above"},"for_s":{"type":"integer","title":"For S"},"clear_for_s":{"type":"integer","title":"Clear For S"},"priority":{"type":"string","enum":["low","high","urgent"],"title":"Priority"},"remind_every_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remind Every S"},"if_no_sure_value_for_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"If No Sure Value For S"}},"additionalProperties":false,"type":"object","required":["field"],"title":"RuleSaid","description":"An alert rule as written, with only the options set: it says one of is, above or below."},"RuleShown":{"properties":{"rule":{"type":"string","title":"Rule"},"field":{"type":"string","title":"Field"},"sentence":{"type":"string","title":"Sentence"},"priority":{"type":"string","title":"Priority"},"for_s":{"type":"integer","title":"For S"},"clear_for_s":{"type":"integer","title":"Clear For S"},"remind_every_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remind Every S"},"alert":{"anyOf":[{"$ref":"#/components/schemas/ValueAlert"},{"type":"null"}],"description":"Its live alert, pending or open"},"shelved":{"anyOf":[{"$ref":"#/components/schemas/Shelf"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["rule","field","sentence","priority","for_s","clear_for_s","remind_every_s","alert","shelved"],"title":"RuleShown"},"Rules":{"properties":{"rules":{"items":{"$ref":"#/components/schemas/RuleShown"},"type":"array","title":"Rules"},"now":{"type":"number","title":"Now"}},"additionalProperties":false,"type":"object","required":["rules","now"],"title":"Rules"},"RunCalled":{"properties":{"sequence":{"type":"integer","title":"Sequence"},"at":{"type":"number","title":"At"},"kind":{"type":"string","const":"called","title":"Kind"},"call_id":{"type":"string","title":"Call Id"},"tool":{"type":"string","title":"Tool"},"input":{"additionalProperties":true,"type":"object","title":"Input","description":"What the tool was given"}},"additionalProperties":false,"type":"object","required":["sequence","at","kind","call_id","tool","input"],"title":"RunCalled"},"RunEnded":{"properties":{"sequence":{"type":"integer","title":"Sequence"},"at":{"type":"number","title":"At"},"kind":{"type":"string","const":"ended","title":"Kind"},"ending":{"type":"string","title":"Ending"}},"additionalProperties":false,"type":"object","required":["sequence","at","kind","ending"],"title":"RunEnded"},"RunReturned":{"properties":{"sequence":{"type":"integer","title":"Sequence"},"at":{"type":"number","title":"At"},"kind":{"type":"string","const":"returned","title":"Kind"},"call_id":{"type":"string","title":"Call Id"},"tool":{"type":"string","title":"Tool"},"ok":{"type":"boolean","title":"Ok"},"result":{"type":"string","title":"Result","description":"The tool's answer as JSON text, or its failure, cut short when long"},"pictures":{"items":{"type":"string"},"type":"array","title":"Pictures","description":"Picture ids it names, at GET /v1/pictures/{id}"}},"additionalProperties":false,"type":"object","required":["sequence","at","kind","call_id","tool","ok","result","pictures"],"title":"RunReturned"},"RunSaid":{"properties":{"sequence":{"type":"integer","title":"Sequence"},"at":{"type":"number","title":"At"},"kind":{"type":"string","const":"said","title":"Kind"},"text":{"type":"string","title":"Text"}},"additionalProperties":false,"type":"object","required":["sequence","at","kind","text"],"title":"RunSaid"},"Said":{"properties":{"title":{"type":"string","title":"Title"},"line":{"items":{"oneOf":[{"$ref":"#/components/schemas/Text"},{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Time"}],"discriminator":{"propertyName":"kind","mapping":{"id":"#/components/schemas/Id","text":"#/components/schemas/Text","time":"#/components/schemas/Time"}}},"type":"array","title":"Line"}},"additionalProperties":false,"type":"object","required":["title","line"],"title":"Said","description":"What Needs calls the item: its title, and its line in parts."},"SeenState":{"properties":{"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"}],"title":"Value"},"first_at":{"type":"number","title":"First At"}},"additionalProperties":false,"type":"object","required":["value","first_at"],"title":"SeenState"},"SeenStates":{"properties":{"seen":{"items":{"$ref":"#/components/schemas/SeenState"},"type":"array","title":"Seen"},"not_seen":{"items":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"}]},"type":"array","title":"Not Seen"}},"additionalProperties":false,"type":"object","required":["seen","not_seen"],"title":"SeenStates"},"SeenTarget":{"properties":{"what":{"type":"string","maxLength":120,"minLength":3,"title":"What"},"inner":{"$ref":"#/components/schemas/Reach"},"seen":{"$ref":"#/components/schemas/Box"}},"additionalProperties":false,"type":"object","required":["what","inner","seen"],"title":"SeenTarget","description":"A target with the box the endpoint test found it in: what a proposed endpoint keeps, and where the gateway\nstarts looking. Dialect fills `seen` from the test; an agent's own `seen` is replaced."},"SenseGateway":{"properties":{"gateway_id":{"type":"string","title":"Gateway Id"},"online":{"type":"boolean","title":"Online"},"can_look":{"type":"boolean","title":"Can Look"},"can_serve_endpoints":{"type":"boolean","title":"Can Serve Endpoints"},"readers":{"items":{"type":"string"},"type":"array","title":"Readers"},"channels":{"items":{"$ref":"#/components/schemas/GatewayChannel"},"type":"array","title":"Channels"},"camera_problem":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Camera Problem"},"health":{"anyOf":[{"$ref":"#/components/schemas/GatewayHealthSaid"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["gateway_id","online","can_look","can_serve_endpoints","readers","channels","camera_problem","health"],"title":"SenseGateway"},"SenseTask":{"properties":{"id":{"type":"string","title":"Id"},"gateway_id":{"type":"string","title":"Gateway Id"},"kind":{"type":"string","title":"Kind"},"args":{"$ref":"#/components/schemas/TaskArgs"},"state":{"type":"string","title":"State"},"requested_by":{"type":"string","title":"Requested By"},"created_at":{"type":"number","title":"Created At"},"claimed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Claimed At"},"finished_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Finished At"},"result":{"anyOf":[{"$ref":"#/components/schemas/TaskResult"},{"type":"null"}]},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"}},"additionalProperties":false,"type":"object","required":["id","gateway_id","kind","args","state","requested_by","created_at","claimed_at","finished_at","result","detail"],"title":"SenseTask","description":"A look or a locate, finished: `state` says whether it worked, `detail` why not."},"SetUp":{"properties":{"picture_id":{"type":"string","title":"Picture Id"},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"},"found":{"additionalProperties":{"$ref":"#/components/schemas/Box"},"type":"object","title":"Found"}},"additionalProperties":false,"type":"object","required":["picture_id","width","height","found"],"title":"SetUp","description":"The picture it was set up on."},"SetUpPhoto":{"properties":{"picture_id":{"type":"string","title":"Picture Id"},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"},"marked":{"items":{"$ref":"#/components/schemas/MarkedThing"},"type":"array","title":"Marked"}},"additionalProperties":false,"type":"object","required":["picture_id","width","height","marked"],"title":"SetUpPhoto"},"Setting":{"properties":{"on":{"type":"boolean","title":"On"},"recipients":{"items":{"type":"string","maxLength":100,"minLength":1},"type":"array","maxItems":50,"title":"Recipients"}},"additionalProperties":false,"type":"object","required":["on","recipients"],"title":"Setting","description":"What a person chooses: on or off, and who. Recipients are identity ids, never addresses."},"SetupRequest":{"properties":{"request":{"type":"string","maxLength":2000,"minLength":3,"title":"Request"},"gateway_id":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Gateway Id"},"time_zone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Time Zone"},"title":{"anyOf":[{"type":"string","maxLength":80,"minLength":1,"pattern":"^[^\u0000-\u001f  ]+$"},{"type":"null"}],"title":"Title"}},"additionalProperties":false,"type":"object","required":["request"],"title":"SetupRequest"},"SetupRunEvents":{"properties":{"run":{"$ref":"#/components/schemas/SetupRunShown"},"events":{"items":{"oneOf":[{"$ref":"#/components/schemas/RunSaid"},{"$ref":"#/components/schemas/RunCalled"},{"$ref":"#/components/schemas/RunReturned"},{"$ref":"#/components/schemas/RunEnded"}],"discriminator":{"propertyName":"kind","mapping":{"called":"#/components/schemas/RunCalled","ended":"#/components/schemas/RunEnded","returned":"#/components/schemas/RunReturned","said":"#/components/schemas/RunSaid"}}},"type":"array","title":"Events"}},"additionalProperties":false,"type":"object","required":["run","events"],"title":"SetupRunEvents"},"SetupRunShown":{"properties":{"id":{"type":"string","title":"Id"},"request":{"type":"string","title":"Request"},"gateway_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gateway Id"},"state":{"type":"string","title":"State"},"ending":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ending"},"created_at":{"type":"number","title":"Created At"},"finished_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Finished At"},"heartbeat_at":{"type":"number","title":"Heartbeat At"},"proposal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proposal Id"},"dismissed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dismissed At"},"dismissed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dismissed By"},"reaims":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reaims"},"nearby":{"anyOf":[{"$ref":"#/components/schemas/Offer"},{"type":"null"}]},"answered_by":{"anyOf":[{"$ref":"#/components/schemas/AnsweredBy"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","request","gateway_id","state","ending","created_at","finished_at","heartbeat_at","proposal_id","dismissed_at","dismissed_by","reaims","nearby","answered_by"],"title":"SetupRunShown"},"SetupStatus":{"properties":{"run_id":{"type":"string","title":"Run Id"},"state":{"type":"string","title":"State"},"ending":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ending"},"calls":{"type":"integer","title":"Calls"},"doing":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doing"},"said":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Said"},"proposal":{"anyOf":[{"$ref":"#/components/schemas/ProposalShown"},{"type":"null"}]},"nearby":{"anyOf":[{"$ref":"#/components/schemas/Offer"},{"type":"null"}],"description":"A nearby question it read sure, when it couldn't read what was asked: offer it to the person"},"answered_by":{"anyOf":[{"$ref":"#/components/schemas/AnsweredBy"},{"type":"null"}],"description":"The endpoint that already reads it, when it ended already_exists: read that one instead"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"additionalProperties":false,"type":"object","required":["run_id","state","ending","calls","doing","said","proposal","nearby","answered_by","next"],"title":"SetupStatus"},"Shelf":{"properties":{"until":{"type":"number","title":"Until"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"by":{"$ref":"#/components/schemas/ActedBy"},"at":{"type":"number","title":"At"}},"additionalProperties":false,"type":"object","required":["until","why","by","at"],"title":"Shelf"},"Shelving":{"properties":{"until":{"type":"number","title":"Until"},"why":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Why"}},"additionalProperties":false,"type":"object","required":["until"],"title":"Shelving"},"Sliver":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"},"why":{"type":"string","title":"Why"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value"}},"additionalProperties":false,"type":"object","required":["id","start","end","why","value"],"title":"Sliver"},"Spec":{"properties":{"name":{"type":"string","title":"Name"},"title":{"type":"string","title":"Title"},"gateway_id":{"type":"string","title":"Gateway Id"},"fields":{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/ChoiceField-Output"},{"$ref":"#/components/schemas/YesNoField-Output"},{"$ref":"#/components/schemas/LevelField-Output"},{"$ref":"#/components/schemas/ColourField-Output"},{"$ref":"#/components/schemas/DialField-Output"},{"$ref":"#/components/schemas/DigitsField-Output"},{"$ref":"#/components/schemas/TextField-Output"}]},"type":"object","title":"Fields"},"every_s":{"type":"integer","title":"Every S"},"record":{"type":"string","enum":["changes","all"],"title":"Record"},"alerts":{"items":{"$ref":"#/components/schemas/RuleSaid"},"type":"array","title":"Alerts"}},"additionalProperties":false,"type":"object","required":["name","title","gateway_id","fields","every_s","alerts"],"title":"Spec","description":"What was proposed: the body of POST /v1/endpoints, as kept."},"Steadiness":{"properties":{"kind":{"type":"string","enum":["steady","flickers","ceiling"],"title":"Kind"},"reads":{"type":"integer","title":"Reads"},"sure":{"type":"integer","title":"Sure"},"mean":{"type":"number","title":"Mean"},"spread":{"type":"number","title":"Spread"},"best":{"type":"number","title":"Best"},"bar":{"type":"number","title":"Bar"},"reader_best":{"type":"number","title":"Reader Best"},"why":{"type":"string","title":"Why"}},"additionalProperties":false,"type":"object","required":["kind","reads","sure","mean","spread","best","bar"],"title":"Steadiness"},"Subscription":{"properties":{"url":{"type":"string","maxLength":2000,"minLength":8,"title":"Url"},"when":{"items":{"$ref":"#/components/schemas/Condition"},"type":"array","maxItems":20,"title":"When","default":[]},"events":{"items":{"type":"string","enum":["endpoint.changed","endpoint.quality_changed","alert.opened","alert.closed","alert.handled","alert.shelved","alert.escalated","log_entry.created","log_entry.read"]},"type":"array","maxItems":9,"minItems":1,"title":"Events","default":["endpoint.changed"]}},"additionalProperties":false,"type":"object","required":["url"],"title":"Subscription","description":"Where to send, and what: `events` (endpoint.changed when left out, as before alert events), and `when`, the\nfields (and values) a change is sent for. endpoint.changed needs `when`; alert events are sent for every alert of\nthe endpoint, or with `when` only for those on its fields."},"Summary":{"properties":{"name":{"type":"string","title":"Name"},"time_zone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time Zone"},"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"},"seconds":{"type":"number","title":"Seconds"},"fields":{"additionalProperties":{"$ref":"#/components/schemas/FieldSummary"},"type":"object","title":"Fields"}},"additionalProperties":false,"type":"object","required":["name","time_zone","start","end","seconds","fields"],"title":"Summary","description":"How long and how often, over one window."},"SureOn":{"properties":{"field":{"type":"string","title":"Field"},"sure":{"type":"integer","title":"Sure"},"reads":{"type":"integer","title":"Reads"}},"additionalProperties":false,"type":"object","required":["field","sure","reads"],"title":"SureOn"},"SureRead":{"properties":{"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"}],"title":"Value"},"frame_id":{"type":"integer","title":"Frame Id"}},"additionalProperties":false,"type":"object","required":["value","frame_id"],"title":"SureRead"},"Tallies":{"properties":{"past":{"$ref":"#/components/schemas/Tally"},"now":{"$ref":"#/components/schemas/Tally"}},"additionalProperties":false,"type":"object","required":["past","now"],"title":"Tallies"},"Tally":{"properties":{"tried":{"type":"integer","title":"Tried"},"sure":{"type":"integer","title":"Sure"}},"additionalProperties":false,"type":"object","required":["tried","sure"],"title":"Tally"},"Target":{"properties":{"what":{"type":"string","maxLength":120,"minLength":3,"title":"What"},"inner":{"$ref":"#/components/schemas/Reach"}},"additionalProperties":false,"type":"object","required":["what","inner"],"title":"Target","description":"What a field reads, named in words (\"the screen of the large Dell monitor\"). On every read the gateway finds it\nagain and reads `inner`, the agent's tested tight region, as fractions of the box it found,\nso a bumped camera still reads the right thing."},"TargetLooked":{"properties":{"found":{"anyOf":[{"$ref":"#/components/schemas/Box"},{"type":"null"}]},"used":{"anyOf":[{"$ref":"#/components/schemas/Box"},{"type":"null"}]},"how":{"anyOf":[{"type":"string","enum":["found","held","saved"]},{"type":"null"}],"title":"How"},"present":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Present"},"frame_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Frame Id"}},"additionalProperties":false,"type":"object","title":"TargetLooked","description":"Where a reading looked for its target, as fractions of the frame."},"TaskArgs":{"properties":{"side":{"type":"integer","title":"Side"},"objects":{"items":{"type":"string"},"type":"array","title":"Objects"}},"additionalProperties":false,"type":"object","title":"TaskArgs"},"TaskResult":{"properties":{"observed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Observed At"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"picture_id":{"type":"string","title":"Picture Id"},"image_jpeg_base64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Jpeg Base64"},"objects":{"additionalProperties":{"$ref":"#/components/schemas/Located"},"type":"object","title":"Objects"}},"additionalProperties":false,"type":"object","title":"TaskResult","description":"A photo, as base64 JPEG, with what it found when asked to locate."},"TestCrop":{"properties":{"fields":{"items":{"type":"string"},"type":"array","title":"Fields"},"picture_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture Id"},"picture_kept":{"type":"boolean","title":"Picture Kept"},"image_jpeg_base64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Jpeg Base64"},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"}},"additionalProperties":false,"type":"object","required":["fields","width","height"],"title":"TestCrop"},"TestDraft":{"properties":{"endpoint":{"$ref":"#/components/schemas/EndpointDraft","title":"Endpoint"},"picture_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture Id"}},"additionalProperties":false,"type":"object","required":["endpoint"],"title":"TestDraft"},"TestRead":{"properties":{"readings":{"additionalProperties":{"$ref":"#/components/schemas/TestReading"},"type":"object","title":"Readings"},"crops":{"items":{"$ref":"#/components/schemas/TestCrop"},"type":"array","title":"Crops"},"targets":{"additionalProperties":{"$ref":"#/components/schemas/TestSighting"},"type":"object","title":"Targets"},"anchors":{"additionalProperties":{"$ref":"#/components/schemas/TestSighting"},"type":"object","title":"Anchors"},"targets_error":{"type":"string","title":"Targets Error"},"anchors_error":{"type":"string","title":"Anchors Error"}},"additionalProperties":false,"type":"object","required":["readings","crops"],"title":"TestRead"},"TestReading":{"properties":{"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value"},"quality":{"type":"string","enum":["valid","uncertain","none"],"title":"Quality"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"missing":{"anyOf":[{"type":"string","enum":["never_read","read_failed","no_answer_fits","not_in_view","covered","nothing_shown"]},{"type":"null"}],"title":"Missing"},"doubt":{"anyOf":[{"type":"string","enum":["reading","target_moved","target_at_edge","target_unlocated","camera_moved","unseen"]},{"type":"null"}],"title":"Doubt"},"detail":{"type":"string","title":"Detail","description":"Why there is no value, in words"}},"additionalProperties":false,"type":"object","required":["value","quality","confidence","missing","doubt"],"title":"TestReading"},"TestReceipt":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","title":"Kind"},"gateway_id":{"type":"string","title":"Gateway Id"},"state":{"type":"string","title":"State"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"created_at":{"type":"number","title":"Created At"},"finished_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Finished At"},"result":{"anyOf":[{"$ref":"#/components/schemas/TestResult"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","kind","gateway_id","state","detail","created_at","finished_at","result"],"title":"TestReceipt","description":"A test's answer: what each field read on one frame. Nothing is kept."},"TestResult":{"properties":{"observed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Observed At"},"observed_from":{"type":"string","const":"past","title":"Observed From","description":"Said when it read a kept frame rather than the camera"},"past_frame":{"type":"string","title":"Past Frame","description":"The kept frame it read"},"test":{"$ref":"#/components/schemas/TestRead"}},"additionalProperties":false,"type":"object","required":["observed_at","test"],"title":"TestResult"},"TestSighting":{"properties":{"found":{"type":"boolean","title":"Found"},"landmark":{"type":"string","title":"Landmark","description":"Why this anchor can't be a landmark"}},"additionalProperties":false,"type":"object","required":["found"],"title":"TestSighting"},"Tested":{"properties":{"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value"},"type":{"type":"string","title":"Type"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"additionalProperties":false,"type":"object","required":["value","type","unit"],"title":"Tested"},"Text":{"properties":{"kind":{"type":"string","const":"text","title":"Kind"},"text":{"type":"string","title":"Text"}},"additionalProperties":false,"type":"object","required":["kind","text"],"title":"Text"},"TextField-Input":{"properties":{"type":{"type":"string","const":"text","title":"Type"},"asks":{"anyOf":[{"type":"string","maxLength":80,"minLength":3},{"type":"null"}],"title":"Asks","description":"The question a person would put about this field, in their own words, 3 to 80 characters: \"Is anything on or beside the valve?\". Shown to people; it never changes what is read."},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]},"target":{"anyOf":[{"$ref":"#/components/schemas/SeenTarget"},{"$ref":"#/components/schemas/Target"},{"type":"null"}],"title":"Target"},"anchor":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Anchor"},"question":{"type":"string","maxLength":300,"minLength":1,"title":"Question"},"max_length":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Max Length","default":60},"pattern":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Pattern"},"threshold":{"type":"number","maximum":0.99,"minimum":0.5,"title":"Threshold","description":"The score a reading must reach to be sure. Leave it out, or raise it; never set it under its kind's default (0.9, a level's 0.8): an unsure reading is fixed by its words or its crop, not by its bar.","default":0.9}},"additionalProperties":false,"type":"object","required":["type","question"],"title":"TextField","description":"Text a label, sign or display shows, read by the gateway's number and text reader. Sure only when read\nconfidently, within max_length, and matching pattern when it has one."},"TextField-Output":{"properties":{"type":{"type":"string","const":"text","title":"Type"},"asks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asks","description":"The question a person would put about this field, in their own words, 3 to 80 characters: \"Is anything on or beside the valve?\". Shown to people; it never changes what is read."},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]},"target":{"anyOf":[{"$ref":"#/components/schemas/SeenTarget"},{"$ref":"#/components/schemas/Target"},{"type":"null"}],"title":"Target"},"anchor":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Anchor"},"question":{"type":"string","maxLength":300,"minLength":1,"title":"Question"},"max_length":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Max Length","default":60},"pattern":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Pattern"},"threshold":{"type":"number","maximum":0.99,"minimum":0.5,"title":"Threshold","description":"The score a reading must reach to be sure. Leave it out, or raise it; never set it under its kind's default (0.9, a level's 0.8): an unsure reading is fixed by its words or its crop, not by its bar.","default":0.9}},"additionalProperties":false,"type":"object","required":["type","question"],"title":"TextField","description":"Text a label, sign or display shows, read by the gateway's number and text reader. Sure only when read\nconfidently, within max_length, and matching pattern when it has one."},"Time":{"properties":{"kind":{"type":"string","const":"time","title":"Kind"},"seconds":{"type":"number","title":"Seconds"}},"additionalProperties":false,"type":"object","required":["kind","seconds"],"title":"Time","description":"A moment, Unix seconds: Needs says how long ago."},"TimeInValue":{"properties":{"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"}],"title":"Value"},"seconds":{"type":"number","title":"Seconds"},"share":{"type":"number","title":"Share"},"entered":{"type":"integer","title":"Entered"}},"additionalProperties":false,"type":"object","required":["value","seconds","share","entered"],"title":"TimeInValue"},"Unhealthy":{"properties":{"id":{"type":"string","title":"Id"},"problem":{"type":"string","title":"Problem"},"sentence":{"type":"string","title":"Sentence"},"since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Since"}},"additionalProperties":false,"type":"object","required":["id","problem","sentence","since"],"title":"Unhealthy"},"Unknown":{"properties":{"kind":{"type":"string","const":"unknown","title":"Kind","default":"unknown"}},"additionalProperties":false,"type":"object","title":"Unknown"},"Unsure":{"properties":{"endpoint":{"type":"string","title":"Endpoint"},"title":{"type":"string","title":"Title"},"fields":{"items":{"type":"string"},"type":"array","title":"Fields"},"since":{"type":"number","title":"Since"},"picture_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture Id"},"said":{"$ref":"#/components/schemas/Said"}},"additionalProperties":false,"type":"object","required":["endpoint","title","fields","since","picture_id","said"],"title":"Unsure"},"ValueAlert":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","const":"value","title":"Kind"},"endpoint":{"type":"string","title":"Endpoint"},"title":{"type":"string","title":"Title"},"gateway_id":{"type":"string","title":"Gateway Id"},"field":{"type":"string","title":"Field"},"rule":{"type":"string","title":"Rule","description":"Its rule's key"},"sentence":{"type":"string","title":"Sentence"},"priority":{"type":"string","title":"Priority"},"state":{"type":"string","enum":["pending","open","closed"],"title":"State"},"started_at":{"type":"number","title":"Started At"},"opened_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Opened At"},"closed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Closed At"},"close_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Close Reason"},"opened_change_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Opened Change Id"},"closed_change_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Closed Change Id"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value"},"quality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quality"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"sure_age_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sure Age S"},"held_s":{"type":"number","title":"Held S"},"for_s":{"type":"integer","title":"For S"},"clear_s":{"type":"number","title":"Clear S"},"clear_for_s":{"type":"integer","title":"Clear For S"},"progress":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Progress","description":"How far along a pending alert is"},"handling":{"anyOf":[{"$ref":"#/components/schemas/Claim"},{"type":"null"}]},"handling_updated_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Handling Updated At"},"handling_stale":{"type":"boolean","title":"Handling Stale"},"notes":{"items":{"$ref":"#/components/schemas/AlertNote"},"type":"array","title":"Notes"},"escalated_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Escalated At"},"shelved":{"anyOf":[{"$ref":"#/components/schemas/Shelf"},{"type":"null"}]},"inhibited_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inhibited By"},"remind_every_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remind Every S"}},"additionalProperties":false,"type":"object","required":["id","kind","endpoint","title","gateway_id","field","rule","sentence","priority","state","started_at","opened_at","closed_at","close_reason","opened_change_id","closed_change_id","value","quality","confidence","sure_age_s","held_s","for_s","clear_s","clear_for_s","progress","handling","handling_updated_at","handling_stale","notes","escalated_at","shelved","inhibited_by","remind_every_s"],"title":"ValueAlert","description":"A rule of an endpoint's holding."},"ValueKept":{"properties":{"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value"},"missing":{"anyOf":[{"type":"string","enum":["never_read","read_failed","no_answer_fits","not_in_view","covered","nothing_shown"]},{"type":"null"}],"title":"Missing"},"quality":{"type":"string","enum":["valid","uncertain","none"],"title":"Quality"},"doubt":{"anyOf":[{"type":"string","enum":["reading","target_moved","target_at_edge","target_unlocated","camera_moved","unseen"]},{"type":"null"}],"title":"Doubt"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"observed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Observed At"},"read_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Read At"},"since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Since"},"target":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Target"},"source":{"type":"string","enum":["gateway","dialect"],"title":"Source"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"last_sure":{"anyOf":[{"$ref":"#/components/schemas/LastSure"},{"type":"null"}]},"sure_read":{"anyOf":[{"$ref":"#/components/schemas/SureRead"},{"type":"null"}]},"failed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Failed At"}},"additionalProperties":true,"type":"object","title":"ValueKept","description":"A value as the version keeps it, keys and all: some are older than others, so all may be absent."},"ValueSaid":{"properties":{"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value"},"missing":{"anyOf":[{"type":"string","enum":["never_read","read_failed","no_answer_fits","not_in_view","covered","nothing_shown"]},{"type":"null"}],"title":"Missing"},"quality":{"type":"string","enum":["valid","uncertain","none"],"title":"Quality"},"doubt":{"anyOf":[{"type":"string","enum":["reading","target_moved","target_at_edge","target_unlocated","camera_moved","unseen"]},{"type":"null"}],"title":"Doubt"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"observed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Observed At","description":"When a read or a check that the picture hadn't changed confirmed it"},"read_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Read At","description":"When it was last actually read"},"since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Since","description":"When it took this value"},"target":{"anyOf":[{"$ref":"#/components/schemas/TargetLooked"},{"type":"null"}]},"source":{"type":"string","enum":["gateway","dialect"],"title":"Source"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"last_sure":{"anyOf":[{"$ref":"#/components/schemas/LastSure"},{"type":"null"}]},"sure_read":{"anyOf":[{"$ref":"#/components/schemas/SureRead"},{"type":"null"}]},"failed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Failed At","description":"When the latest read failed, while the value held is from before"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"additionalProperties":false,"type":"object","required":["value","missing","quality","doubt","confidence","observed_at","read_at","since","target","source","detail","last_sure","failed_at","type","unit"],"title":"ValueSaid","description":"A field's value, or why there is none: `value` is null exactly when `missing` says why."},"ValuesSchema":{"properties":{"type":{"type":"string","const":"object","title":"Type"},"title":{"type":"string","title":"Title"},"properties":{"additionalProperties":{"$ref":"#/components/schemas/FieldValueSchema"},"type":"object","title":"Properties"},"required":{"items":{"type":"string"},"type":"array","title":"Required"}},"additionalProperties":false,"type":"object","required":["type","title","properties","required"],"title":"ValuesSchema","description":"The JSON Schema of this endpoint's values."},"VersionDescribed":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"version":{"type":"integer","title":"Version"},"gateway_id":{"type":"string","title":"Gateway Id"},"title":{"type":"string","title":"Title"},"spec":{"$ref":"#/components/schemas/Spec"},"summary":{"items":{"type":"string"},"type":"array","title":"Summary","description":"The lines a person confirms"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"log_schedule":{"anyOf":[{"$ref":"#/components/schemas/LogSchedule"},{"type":"null"}]},"log_since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Log Since"},"state":{"type":"string","enum":["proposed","active","paused","declined","replaced","stopped"],"title":"State"},"proposed_by":{"type":"string","title":"Proposed By"},"confirmed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confirmed By"},"created_at":{"type":"number","title":"Created At"},"confirmed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confirmed At"},"running_since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Running Since"},"ended_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ended At"},"ended_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ended By"},"turned_down":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turned Down"},"anchors":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AnchorKept"},"type":"object"},{"type":"null"}],"title":"Anchors"},"camera":{"$ref":"#/components/schemas/CameraShown"},"frame":{"anyOf":[{"$ref":"#/components/schemas/FrameShown"},{"type":"null"}]},"set_up":{"anyOf":[{"$ref":"#/components/schemas/SetUp"},{"type":"null"}]},"placed":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/PlacedBy"},"type":"object"},{"type":"null"}],"title":"Placed"},"fresh_check":{"anyOf":[{"$ref":"#/components/schemas/FreshCheck"},{"type":"null"}]},"reaims_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reaims Version"},"waits_why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waits Why"},"cause":{"oneOf":[{"$ref":"#/components/schemas/Proposed"},{"$ref":"#/components/schemas/Rewording"},{"$ref":"#/components/schemas/Barred"},{"$ref":"#/components/schemas/Reaimed"},{"$ref":"#/components/schemas/Dropped"},{"$ref":"#/components/schemas/Unknown"}],"title":"Cause","discriminator":{"propertyName":"kind","mapping":{"bar":"#/components/schemas/Barred","dropped":"#/components/schemas/Dropped","proposed":"#/components/schemas/Proposed","reaimed":"#/components/schemas/Reaimed","reworded":"#/components/schemas/Rewording","unknown":"#/components/schemas/Unknown"}}},"values":{"additionalProperties":{"$ref":"#/components/schemas/ValueSaid"},"type":"object","title":"Values"},"checked_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Checked At"},"observations":{"type":"integer","title":"Observations"},"unchanged_checks":{"type":"integer","title":"Unchanged Checks"},"uncertain":{"type":"integer","title":"Uncertain"},"dropped_why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dropped Why"},"paused":{"anyOf":[{"$ref":"#/components/schemas/Paused"},{"type":"null"}]},"alert_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Alert Keys"},"crops":{"anyOf":[{"items":{"$ref":"#/components/schemas/KeptCrop"},"type":"array"},{"type":"null"}],"title":"Crops"},"request":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request"},"fields":{"additionalProperties":{"$ref":"#/components/schemas/FieldListed"},"type":"object","title":"Fields"},"seen":{"additionalProperties":{"$ref":"#/components/schemas/SeenStates"},"type":"object","title":"Seen"},"alerts":{"items":{"$ref":"#/components/schemas/RuleSaid"},"type":"array","title":"Alerts"}},"additionalProperties":false,"type":"object","required":["id","name","version","gateway_id","title","spec","summary","why","purpose","log_schedule","log_since","state","proposed_by","confirmed_by","created_at","confirmed_at","running_since","ended_at","ended_by","turned_down","anchors","camera","frame","set_up","placed","fresh_check","reaims_version","waits_why","cause","values","checked_at","observations","unchanged_checks","uncertain","dropped_why","paused","alert_keys","fields","seen","alerts"],"title":"VersionDescribed","description":"A version as readers see it, with each value and field said."},"VersionRecord":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"version":{"type":"integer","title":"Version"},"gateway_id":{"type":"string","title":"Gateway Id"},"title":{"type":"string","title":"Title"},"spec":{"$ref":"#/components/schemas/Spec"},"summary":{"items":{"type":"string"},"type":"array","title":"Summary","description":"The lines a person confirms"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"log_schedule":{"anyOf":[{"$ref":"#/components/schemas/LogSchedule"},{"type":"null"}]},"log_since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Log Since"},"state":{"type":"string","enum":["proposed","active","paused","declined","replaced","stopped"],"title":"State"},"proposed_by":{"type":"string","title":"Proposed By"},"confirmed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confirmed By"},"created_at":{"type":"number","title":"Created At"},"confirmed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confirmed At"},"running_since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Running Since"},"ended_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ended At"},"ended_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ended By"},"turned_down":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turned Down"},"anchors":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/AnchorKept"},"type":"object"},{"type":"null"}],"title":"Anchors"},"camera":{"anyOf":[{"$ref":"#/components/schemas/CameraKept"},{"type":"null"}]},"frame":{"anyOf":[{"$ref":"#/components/schemas/FrameShown"},{"type":"null"}]},"set_up":{"anyOf":[{"$ref":"#/components/schemas/SetUp"},{"type":"null"}]},"placed":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/PlacedBy"},"type":"object"},{"type":"null"}],"title":"Placed"},"fresh_check":{"anyOf":[{"$ref":"#/components/schemas/FreshCheck"},{"type":"null"}]},"reaims_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reaims Version"},"waits_why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waits Why"},"cause":{"oneOf":[{"$ref":"#/components/schemas/Proposed"},{"$ref":"#/components/schemas/Rewording"},{"$ref":"#/components/schemas/Barred"},{"$ref":"#/components/schemas/Reaimed"},{"$ref":"#/components/schemas/Dropped"},{"$ref":"#/components/schemas/Unknown"}],"title":"Cause","discriminator":{"propertyName":"kind","mapping":{"bar":"#/components/schemas/Barred","dropped":"#/components/schemas/Dropped","proposed":"#/components/schemas/Proposed","reaimed":"#/components/schemas/Reaimed","reworded":"#/components/schemas/Rewording","unknown":"#/components/schemas/Unknown"}}},"values":{"additionalProperties":{"$ref":"#/components/schemas/ValueKept"},"type":"object","title":"Values"},"checked_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Checked At"},"observations":{"type":"integer","title":"Observations"},"unchanged_checks":{"type":"integer","title":"Unchanged Checks"},"uncertain":{"type":"integer","title":"Uncertain"},"dropped_why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dropped Why"},"paused":{"anyOf":[{"$ref":"#/components/schemas/Paused"},{"type":"null"}]},"alert_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Alert Keys"},"crops":{"anyOf":[{"items":{"$ref":"#/components/schemas/KeptCrop"},"type":"array"},{"type":"null"}],"title":"Crops"},"request":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request"}},"additionalProperties":false,"type":"object","required":["id","name","version","gateway_id","title","spec","summary","why","purpose","log_schedule","log_since","state","proposed_by","confirmed_by","created_at","confirmed_at","running_since","ended_at","ended_by","turned_down","anchors","camera","frame","set_up","placed","fresh_check","reaims_version","waits_why","cause","values","checked_at","observations","unchanged_checks","uncertain","dropped_why","paused","alert_keys"],"title":"VersionRecord","description":"A version of an endpoint: its record, with the crops its test read and what the person asked for."},"VersionRun":{"properties":{"version":{"type":"integer","title":"Version"},"seconds":{"type":"number","title":"Seconds"},"unsure_stretches":{"type":"integer","title":"Unsure Stretches"}},"additionalProperties":false,"type":"object","required":["version","seconds","unsure_stretches"],"title":"VersionRun"},"VersionsUnsure":{"properties":{"current":{"$ref":"#/components/schemas/VersionRun"},"previous":{"anyOf":[{"$ref":"#/components/schemas/VersionRun"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["current","previous"],"title":"VersionsUnsure"},"WebhookDeleted":{"properties":{"id":{"type":"string","title":"Id"},"deleted":{"type":"boolean","title":"Deleted"}},"additionalProperties":false,"type":"object","required":["id","deleted"],"title":"WebhookDeleted"},"WebhookMade":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"url":{"type":"string","title":"Url"},"when":{"items":{"$ref":"#/components/schemas/ConditionSaid"},"type":"array","title":"When"},"events":{"items":{"type":"string"},"type":"array","title":"Events"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"number","title":"Created At"},"failing_since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Failing Since"},"paused_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Paused At"},"retiring_secret_until":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retiring Secret Until"},"recent":{"items":{"$ref":"#/components/schemas/Delivery"},"type":"array","title":"Recent"},"secret":{"type":"string","title":"Secret","description":"Shown once, when it is made: not when one you already had is answered"},"existing":{"type":"boolean","title":"Existing"},"hint":{"type":"string","title":"Hint"}},"additionalProperties":false,"type":"object","required":["id","name","url","when","events","created_by","created_at","failing_since","paused_at","retiring_secret_until","recent","existing"],"title":"WebhookMade"},"WebhookRotated":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"url":{"type":"string","title":"Url"},"when":{"items":{"$ref":"#/components/schemas/ConditionSaid"},"type":"array","title":"When"},"events":{"items":{"type":"string"},"type":"array","title":"Events"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"number","title":"Created At"},"failing_since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Failing Since"},"paused_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Paused At"},"retiring_secret_until":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retiring Secret Until"},"recent":{"items":{"$ref":"#/components/schemas/Delivery"},"type":"array","title":"Recent"},"secret":{"type":"string","title":"Secret","description":"Shown once"}},"additionalProperties":false,"type":"object","required":["id","name","url","when","events","created_by","created_at","failing_since","paused_at","retiring_secret_until","recent","secret"],"title":"WebhookRotated"},"WebhookShown":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"url":{"type":"string","title":"Url"},"when":{"items":{"$ref":"#/components/schemas/ConditionSaid"},"type":"array","title":"When"},"events":{"items":{"type":"string"},"type":"array","title":"Events"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"number","title":"Created At"},"failing_since":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Failing Since"},"paused_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Paused At"},"retiring_secret_until":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retiring Secret Until"},"recent":{"items":{"$ref":"#/components/schemas/Delivery"},"type":"array","title":"Recent"}},"additionalProperties":false,"type":"object","required":["id","name","url","when","events","created_by","created_at","failing_since","paused_at","retiring_secret_until","recent"],"title":"WebhookShown"},"WebhookTested":{"properties":{"delivered":{"type":"boolean","title":"Delivered"},"status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"ms":{"type":"integer","title":"Ms"},"response":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response"},"delivery":{"$ref":"#/components/schemas/Delivery"}},"additionalProperties":false,"type":"object","required":["delivered","status","error","ms","response","delivery"],"title":"WebhookTested"},"Webhooks":{"properties":{"webhooks":{"items":{"$ref":"#/components/schemas/WebhookShown"},"type":"array","title":"Webhooks"}},"additionalProperties":false,"type":"object","required":["webhooks"],"title":"Webhooks"},"Whoami":{"properties":{"identity_id":{"type":"string","title":"Identity Id"},"role":{"type":"string","title":"Role"},"capabilities":{"items":{"type":"string"},"type":"array","title":"Capabilities"},"gateway_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gateway Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"administrative":{"type":"boolean","title":"Administrative"},"delegated":{"type":"boolean","title":"Delegated","description":"An agent signed in through OAuth on a person's behalf"},"read_only":{"type":"boolean","title":"Read Only"},"reaches":{"type":"string","title":"Reaches","description":"How far it may reach: reads, looks or changes"},"payment":{"anyOf":[{"$ref":"#/components/schemas/Payment"},{"type":"null"}],"description":"How to pay, while the workspace hasn't; null once it has"},"billing":{"anyOf":[{"$ref":"#/components/schemas/Billing"},{"type":"null"}],"description":"What an administrator pays, and where to change it"},"confirm_on_paying":{"anyOf":[{"$ref":"#/components/schemas/ConfirmOnPayingShown"},{"type":"null"}],"description":"The proposal a person chose to start by paying, or that their payment couldn't start"},"gateways_allowed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Gateways Allowed","description":"How many gateways may be enrolled here: one for each question paid for, or one before paying. Null with no limit"}},"additionalProperties":false,"type":"object","required":["identity_id","role","capabilities","gateway_id","workspace_id","administrative","delegated","read_only","reaches","payment","billing","confirm_on_paying","gateways_allowed"],"title":"Whoami","description":"Who a token is, and how far it may reach."},"Worded":{"properties":{"question":{"type":"string","title":"Question"},"shows":{"additionalProperties":{"type":"string"},"type":"object","title":"Shows"}},"additionalProperties":false,"type":"object","required":["question","shows"],"title":"Worded","description":"What the vision model was asked for a field, as it was then."},"YesNoField-Input":{"properties":{"type":{"type":"string","const":"yes_no","title":"Type"},"asks":{"anyOf":[{"type":"string","maxLength":80,"minLength":3},{"type":"null"}],"title":"Asks","description":"The question a person would put about this field, in their own words, 3 to 80 characters: \"Is anything on or beside the valve?\". Shown to people; it never changes what is read."},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]},"target":{"anyOf":[{"$ref":"#/components/schemas/SeenTarget"},{"$ref":"#/components/schemas/Target"},{"type":"null"}],"title":"Target"},"anchor":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Anchor"},"question":{"type":"string","maxLength":300,"minLength":1,"title":"Question"},"yes":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Yes"},"no":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"No"},"threshold":{"type":"number","maximum":0.99,"minimum":0.5,"title":"Threshold","description":"The score a reading must reach to be sure. Leave it out, or raise it; never set it under its kind's default (0.9, a level's 0.8): an unsure reading is fixed by its words or its crop, not by its bar.","default":0.9},"blinking":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Blinking"},"over_s":{"anyOf":[{"type":"number","maximum":10.0,"minimum":2.0},{"type":"null"}],"title":"Over S","description":"Seconds the gateway watches the light for on each check, 2 to 10 (3 when left out): at least twice the period of the slowest blink to read."}},"additionalProperties":false,"type":"object","required":["type","question"],"title":"YesNoField","description":"True or false. Sure when the probability of yes is at least the threshold, or at most\none minus it."},"YesNoField-Output":{"properties":{"type":{"type":"string","const":"yes_no","title":"Type"},"asks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asks","description":"The question a person would put about this field, in their own words, 3 to 80 characters: \"Is anything on or beside the valve?\". Shown to people; it never changes what is read."},"region":{"anyOf":[{"$ref":"#/components/schemas/Region"},{"type":"null"}]},"target":{"anyOf":[{"$ref":"#/components/schemas/SeenTarget"},{"$ref":"#/components/schemas/Target"},{"type":"null"}],"title":"Target"},"anchor":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Anchor"},"question":{"type":"string","maxLength":300,"minLength":1,"title":"Question"},"yes":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Yes"},"no":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"No"},"threshold":{"type":"number","maximum":0.99,"minimum":0.5,"title":"Threshold","description":"The score a reading must reach to be sure. Leave it out, or raise it; never set it under its kind's default (0.9, a level's 0.8): an unsure reading is fixed by its words or its crop, not by its bar.","default":0.9},"blinking":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Blinking"},"over_s":{"anyOf":[{"type":"number","maximum":10.0,"minimum":2.0},{"type":"null"}],"title":"Over S","description":"Seconds the gateway watches the light for on each check, 2 to 10 (3 when left out): at least twice the period of the slowest blink to read."}},"additionalProperties":false,"type":"object","required":["type","question"],"title":"YesNoField","description":"True or false. Sure when the probability of yes is at least the threshold, or at most\none minus it."}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}