{"swagger":"2.0","x-id":["platform-api"],"consumes":["application/json"],"produces":["application/json","application/transit+json","application/edn"],"securityDefinitions":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-aclaimant-api-key"}},"basePath":"/api","info":{"title":"Aclaimant Platform API","description":"Summary of endpoints"},"paths":{"/v1/answers/{company-ident}/{external-ident}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"path","name":"company-ident","description":"","type":"string","required":true,"title":"company-ident","example":"COMPANY_IDENT"},{"in":"path","name":"external-ident","description":"The external-ident of the answer bundle","type":"string","required":true,"title":"external-ident","example":"YOUR_IDENT"}],"security":[{"apiKeyAuth":[]}],"tags":["answers"]}},"/v2/bulk/exposure-summations":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"quay.exposure-summations.bulk/upsert","description":"","required":true,"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"end-date":{"description":"date (format like \"2011-01-23\")","title":"exposure/end-date","example":"2011-03-24"},"subcategory-value":{"type":"string","x-nullable":true},"asset-workflow":{"type":"string"},"location-workflow":{"type":"string"},"hierarchy":{"type":"string"},"location-workflow-id":{"type":"string","format":"uuid"},"path-values":{"type":"array","items":{"type":"string"}},"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"category-name":{"type":"string","x-nullable":true},"category-value":{"type":"string","x-nullable":true},"asset-workflow-id":{"type":"string","format":"uuid"},"subcategory-name":{"type":"string","x-nullable":true},"start-date":{"description":"date (format like \"2011-01-23\")","title":"exposure/start-date","example":"2011-03-24"},"data":{"type":"object"},"hierarchy-output-map-id":{"type":"string","format":"uuid"}},"required":["company-ident","data","start-date","asset-workflow","asset-workflow-id","location-workflow","location-workflow-id","hierarchy","hierarchy-output-map-id","path-values"]}},"payload-url":{"type":"string","x-nullable":true},"description":{"type":"string","x-nullable":true}},"title":"quay.exposure-summations.bulk/upsert"}}],"summary":"Upsert many exposure summations. Enqueues a bulk job and returns a status URL","security":[{"apiKeyAuth":[]}],"tags":["bulk","exposures"]}},"/v1/events/{external-ident}":{"patch":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"path","name":"external-ident","description":"external identifier for this event","type":"string","required":true,"title":"event/external-ident","example":"EVENT_IDENT"},{"in":"body","name":"body","description":"","required":true,"schema":{"type":"object","properties":{"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"event":{"type":"object","properties":{"date":{"description":"date (format like \"2011-01-23\")","title":"quay.api/date","example":"2011-03-24"},"type":{"type":"string","description":"event type (e.g. \"Return to Work\")","title":"event/type","example":"Return to Work"},"category":{"type":"string","description":"event category string","title":"event/category","example":"category name"},"subject":{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}],"x-anyOf":[{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}]},{"enum":["quay.api/delete"],"type":"string"}],"description":"a tuple in the pattern [title subtitle]","title":"quay.api.patch/subject","example":["Title","subtitle"]},"note":{"type":"string","description":"event note string","title":"event/note"},"location":{"type":"string","description":"event location string","title":"event/location","example":"location of event"},"sub-category":{"type":"string","description":"event sub-category string","title":"event/sub-category","example":"subcategory name"},"external-ident":{"type":"string","description":"external identifier for this event","title":"event/external-ident","example":"EVENT_IDENT"}},"title":"quay.api.patch/event"}},"required":["company-ident","event"]}}],"summary":"Update an event","security":[{"apiKeyAuth":[]}],"tags":["answers"]}},"/v1/bulk/status/{id}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"path","name":"id","description":"","type":"string","required":true,"format":"uuid"}],"summary":"See the status of a given bulk job","security":[{"apiKeyAuth":[]}],"tags":["bulk"]}},"/v2/bulk/policies":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"quay.policies.bulk/upsert","description":"","required":true,"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"policy":{"type":"object","properties":{"extensions":{"type":"object","properties":{"named-insured":{"type":"string"},"broker-name":{"type":"string"},"currency":{"type":"string"},"broker-compensation-type":{"type":"array","items":{"type":"string"}},"broker-total-commission":{"description":"numeric monetary value","title":"policy-extension/broker-total-commission","type":"number","example":123.42},"master-policy-number":{"type":"string"},"parent-carrier":{"type":"string"},"status":{"type":"string"},"inception-date":{"description":"date (format like \"2011-01-23\")","title":"policy-extension/inception-date","example":"2011-03-24"},"broker-commission-percentage":{"type":"number","format":"double"},"broker-total-fee":{"description":"numeric monetary value","title":"policy-extension/broker-total-fee","type":"number","example":123.42},"broker-producer":{"type":"string"},"market":{"type":"array","items":{"type":"string"}}},"title":"policy/extensions"},"close-with-date":{"type":"boolean"},"label":{"type":"string","x-nullable":true},"policy-number":{"type":"string"},"external-identifier":{"type":"string","description":"The external identifier of the policy","title":"policy external identifier","example":"POLICY_ID"},"lookup":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"external-identifier":{"type":"string","description":"The external identifier of the policy","title":"policy external identifier","example":"POLICY_ID"},"carrier":{"type":"string"},"policy-number":{"type":"string"}},"x-allOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"external-identifier":{"type":"string","description":"The external identifier of the policy","title":"policy external identifier","example":"POLICY_ID"},"carrier":{"type":"string"},"policy-number":{"type":"string"}}},{}]},"periods":{"type":"array","items":{"type":"object","properties":{"effective":{"description":"date (format like \"2011-01-23\")","title":"policy-period/effective","example":"2011-03-24"},"external-identifier":{"type":"string","description":"The external identifier of the policy-period","title":"policy-period external identifier","example":"POLICY_PERIOD_ID"},"expiration":{"description":"date (format like \"2011-01-23\")","title":"policy-period/expiration","example":"2011-03-24"},"lines-of-coverage":{"type":"array","items":{"type":"object","properties":{"extensions":{"type":"object","properties":{"premium-invoice-total":{"description":"numeric monetary value","title":"loc-extension/premium-invoice-total","type":"number","example":123.42},"layer-number":{"type":"number","format":"double"},"drop-down-coverage":{"type":"boolean"},"is-limit-per-claim":{"type":"boolean"},"premium-basis":{"type":"string"},"bond-effective-end":{"description":"date (format like \"2011-01-23\")","title":"loc-extension/bond-effective-end","example":"2011-03-24"},"bond-effective-start":{"description":"date (format like \"2011-01-23\")","title":"loc-extension/bond-effective-start","example":"2011-03-24"},"gross-premium-total":{"description":"numeric monetary value","title":"loc-extension/gross-premium-total","type":"number","example":123.42},"coverage-trigger":{"type":"string"},"bond-invoiced-period":{"type":"array","items":{"type":"string"}},"taxes-and-fees":{"description":"numeric monetary value","title":"loc-extension/taxes-and-fees","type":"number","example":123.42},"premium-adjustments":{"description":"numeric monetary value","title":"loc-extension/premium-adjustments","type":"number","example":123.42},"cancelled-bond":{"type":"string"},"sir-amount":{"description":"numeric monetary value","title":"loc-extension/sir-amount","type":"number","example":123.42},"occurrence-attachment-point":{"type":"number","format":"double"},"policy-details":{"type":"string"},"alae-treatment":{"type":"string"},"policy-type":{"type":"string"},"bond-type":{"type":"string"},"bond-contact":{"type":"string","format":"uuid"},"bond-status":{"type":"string"},"sub-coverage-line":{"type":"string"},"bond-fe-taxes":{"description":"numeric monetary value","title":"loc-extension/bond-fe-taxes","type":"number","example":123.42},"terms-and-conditions":{"type":"string"},"endorsement":{"type":"string"},"layer-type":{"type":"string"},"attach-amount":{"type":"number","format":"double"},"net-premium":{"description":"numeric monetary value","title":"loc-extension/net-premium","type":"number","example":123.42},"program-year":{"type":"string"},"retro-date":{"description":"date (format like \"2011-01-23\")","title":"loc-extension/retro-date","example":"2011-03-24"},"tail-date":{"description":"date (format like \"2011-01-23\")","title":"loc-extension/tail-date","example":"2011-03-24"},"quota-share-percent":{"type":"number","format":"double"},"aggregate-deductible":{"description":"numeric monetary value","title":"loc-extension/aggregate-deductible","type":"number","example":123.42},"limit-type":{"type":"string"}},"title":"line-of-coverage/extensions"},"additional-retentions":{"type":"array","items":{"type":"object","properties":{"retention-type":{"type":"string"},"retention-description":{"type":"string"},"applies-to":{"type":"array","items":{"type":"string"}},"retention-amount":{"type":"number","format":"double"}},"title":"line-of-coverage/additional-retention"}},"coverage-limit-per-claim":{"description":"numeric monetary value","title":"line-of-coverage/coverage-limit-per-claim","type":"number","example":123.42},"premium":{"description":"numeric monetary value","title":"line-of-coverage/premium","type":"number","example":123.42},"additional-limits":{"type":"array","items":{"type":"object","properties":{"additional-limit-type":{"type":"string"},"additional-limit-description":{"type":"string"},"additional-limit-amount":{"type":"number","format":"double"},"sublimit":{"type":"boolean"},"sublimit-description":{"type":"string"},"sublimit-amount":{"type":"number","format":"double"}},"title":"line-of-coverage/additional-limit"}},"external-identifier":{"type":"string","description":"The external identifier of the line-of-coverage","title":"line-of-coverage external identifier","example":"LINE_OF_COVERAGE_ID"},"deductible":{"description":"numeric monetary value","title":"line-of-coverage/deductible","type":"number","example":123.42},"coverage-type":{"x-allOf":[{},{}]},"total-coverage-limit":{"description":"numeric monetary value","title":"line-of-coverage/total-coverage-limit","type":"number","example":123.42}},"required":["coverage-type"],"title":"policy-period/line-of-coverage"}},"documents":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string","description":"A filename shown in the files list (e.g. \"photo-01.jpg\")","title":"file/filename"},"content-type":{"type":"string","description":"The content-type of the file data (e.g. \"image/jpeg\")","title":"file/content-type"},"content-length":{"type":"integer","description":"The content-length of the file data measured in bytes","title":"file/content-length"},"coverage-types":{"type":"array","items":{"x-allOf":[{},{}]}},"external-identifier":{"type":"string","description":"The external identifier of the policy-period-document","title":"policy-period-document external identifier","example":"POLICY_PERIOD_DOCUMENT_ID"}},"required":["filename","content-type","content-length","coverage-types"],"title":"policy-period/document"}},"extensions":{"type":"object","properties":{"policy-year":{"type":"integer","format":"int64"},"policy-received":{"type":"boolean"}},"title":"policy-period/extensions"}},"required":["effective"],"title":"policy/period"}},"carrier":{"type":"string"},"description":{"type":"string"}},"required":["carrier","policy-number","close-with-date"],"title":"quay.api/policy"}},"required":["company-ident","policy"]}},"payload-url":{"type":"string","x-nullable":true},"description":{"type":"string","x-nullable":true}},"title":"quay.policies.bulk/upsert"}}],"summary":"Upsert many policies. Enqueues a bulk job and returns a status URL","security":[{"apiKeyAuth":[]}],"tags":["bulk","policies"]}},"/v1/events":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"body","description":"","required":true,"schema":{"type":"object","properties":{"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"external-ident":{"type":"string","description":"The external-ident of the answer bundle","title":"external-ident","example":"YOUR_IDENT"},"event":{"type":"object","properties":{"date":{"description":"date (format like \"2011-01-23\")","title":"quay.api/date","example":"2011-03-24"},"type":{"type":"string","description":"event type (e.g. \"Return to Work\")","title":"event/type","example":"Return to Work"},"category":{"type":"string","description":"event category string","title":"event/category","example":"category name"},"subject":{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}],"description":"a tuple in the pattern [title subtitle]","title":"event/subject","example":["Title","subtitle"]},"note":{"type":"string","description":"event note string","title":"event/note"},"location":{"type":"string","description":"event location string","title":"event/location","example":"location of event"},"sub-category":{"type":"string","description":"event sub-category string","title":"event/sub-category","example":"subcategory name"},"external-ident":{"type":"string","description":"external identifier for this event","title":"event/external-ident","example":"EVENT_IDENT"}},"required":["date","type","category"],"title":"quay.api/event"}},"required":["company-ident","external-ident","event"]}}],"summary":"Create an event for an existing item","security":[{"apiKeyAuth":[]}],"tags":["answers"]}},"/v2/program":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"quay.program/upsert","description":"","required":true,"schema":{"type":"object","properties":{"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"program":{"type":"object","properties":{"name":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"program/name"},"coverage-types":{"type":"array","items":{"description":"coverage type string (e.g. \"workers-comp\")","title":"claim/coverage-type","example":"workers-comp"}},"external-ident":{"type":"string","description":"The external identifier of the program","title":"program external identifier","example":"PROGRAM_ID"},"description":{"type":"string"},"currency":{"type":"string"},"loc-external-idents":{"type":"array","items":{"type":"string"}}},"required":["name","coverage-types"],"title":"quay.api/program"}},"required":["company-ident","program"],"title":"quay.program/upsert"}}],"summary":"Create or update a policy program","security":[{"apiKeyAuth":[]}],"tags":["policy-programs"]}},"/v1/answers/prototype":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"body","description":"","required":true,"schema":{"type":"object","properties":{"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"workflow-id":{"type":"string","format":"uuid"},"workflow":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"aclaimant.service.routes.quay/workflow"},"input-map-id":{"type":"string","format":"uuid"},"input-map":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"aclaimant.service.routes.quay/input-map"}},"required":["company-ident","workflow-id","workflow","input-map-id","input-map"]}}],"summary":"Return the specification for a given workflow and input map","security":[{"apiKeyAuth":[]}],"tags":["answers"]}},"/v1/claims/{policy-external-ident}/{claim-number}":{"patch":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"path","name":"claim-number","description":"claim number for the claim","type":"string","required":true,"title":"claim/claim-number","example":"CLAIM_NUMBER"},{"in":"path","name":"policy-external-ident","description":"The external identifier of the policy","type":"string","required":true,"title":"policy external identifier","example":"POLICY_ID"},{"in":"body","name":"body","description":"","required":true,"schema":{"type":"object","properties":{"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"claim":{"type":"object","properties":{"status-date":{"description":"date (format like \"2011-01-23\")","title":"claim/status-date","example":"2011-03-24"},"policy-period-effective-date":{"description":"date (format like \"2011-01-23\")","title":"claim/policy-period-effective-date","example":"2011-03-24"},"default-adjuster":{"type":"string"},"status":{"enum":["closed","open"],"type":"string","description":"claim status (e.g. \"open\" or \"closed\")","title":"claim/status","example":"open"},"subject":{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}],"x-anyOf":[{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}]},{"enum":["quay.api/delete"],"type":"string"}],"description":"a tuple in the pattern [title subtitle]","title":"quay.api.patch/subject","example":["Title","subtitle"]},"default-adjuster-email":{"type":"string"},"claim-number":{"type":"string","description":"claim number for the claim","title":"claim.patch/claim-number","example":"CLAIM_NUMBER"},"submitted-date":{"description":"date (format like \"2011-01-23\")","title":"claim.patch/submitted-date","example":"2011-03-24"},"coverage-type":{"description":"coverage type string (e.g. \"workers-comp\")","title":"claim/coverage-type","example":"workers-comp"},"default-adjuster-phone":{"type":"string"},"policy-external-ident":{"type":"string","description":"The external identifier of the policy","title":"policy external identifier","example":"POLICY_ID"}},"title":"quay.api.patch/claim"},"pipeline-run-identifier":{"type":"string"}},"required":["company-ident","claim"]}}],"security":[{"apiKeyAuth":[]}],"tags":["answers"]}},"/v2/policy":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"quay.policy/upsert","description":"","required":true,"schema":{"type":"object","properties":{"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"policy":{"type":"object","properties":{"extensions":{"type":"object","properties":{"named-insured":{"type":"string"},"broker-name":{"type":"string"},"currency":{"type":"string"},"broker-compensation-type":{"type":"array","items":{"type":"string"}},"broker-total-commission":{"description":"numeric monetary value","title":"policy-extension/broker-total-commission","type":"number","example":123.42},"master-policy-number":{"type":"string"},"parent-carrier":{"type":"string"},"status":{"type":"string"},"inception-date":{"description":"date (format like \"2011-01-23\")","title":"policy-extension/inception-date","example":"2011-03-24"},"broker-commission-percentage":{"type":"number","format":"double"},"broker-total-fee":{"description":"numeric monetary value","title":"policy-extension/broker-total-fee","type":"number","example":123.42},"broker-producer":{"type":"string"},"market":{"type":"array","items":{"type":"string"}}},"title":"policy/extensions"},"close-with-date":{"type":"boolean"},"label":{"type":"string","x-nullable":true},"policy-number":{"type":"string"},"external-identifier":{"type":"string","description":"The external identifier of the policy","title":"policy external identifier","example":"POLICY_ID"},"lookup":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"external-identifier":{"type":"string","description":"The external identifier of the policy","title":"policy external identifier","example":"POLICY_ID"},"carrier":{"type":"string"},"policy-number":{"type":"string"}},"x-allOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"external-identifier":{"type":"string","description":"The external identifier of the policy","title":"policy external identifier","example":"POLICY_ID"},"carrier":{"type":"string"},"policy-number":{"type":"string"}}},{}]},"periods":{"type":"array","items":{"type":"object","properties":{"effective":{"description":"date (format like \"2011-01-23\")","title":"policy-period/effective","example":"2011-03-24"},"external-identifier":{"type":"string","description":"The external identifier of the policy-period","title":"policy-period external identifier","example":"POLICY_PERIOD_ID"},"expiration":{"description":"date (format like \"2011-01-23\")","title":"policy-period/expiration","example":"2011-03-24"},"lines-of-coverage":{"type":"array","items":{"type":"object","properties":{"extensions":{"type":"object","properties":{"premium-invoice-total":{"description":"numeric monetary value","title":"loc-extension/premium-invoice-total","type":"number","example":123.42},"layer-number":{"type":"number","format":"double"},"drop-down-coverage":{"type":"boolean"},"is-limit-per-claim":{"type":"boolean"},"premium-basis":{"type":"string"},"bond-effective-end":{"description":"date (format like \"2011-01-23\")","title":"loc-extension/bond-effective-end","example":"2011-03-24"},"bond-effective-start":{"description":"date (format like \"2011-01-23\")","title":"loc-extension/bond-effective-start","example":"2011-03-24"},"gross-premium-total":{"description":"numeric monetary value","title":"loc-extension/gross-premium-total","type":"number","example":123.42},"coverage-trigger":{"type":"string"},"bond-invoiced-period":{"type":"array","items":{"type":"string"}},"taxes-and-fees":{"description":"numeric monetary value","title":"loc-extension/taxes-and-fees","type":"number","example":123.42},"premium-adjustments":{"description":"numeric monetary value","title":"loc-extension/premium-adjustments","type":"number","example":123.42},"cancelled-bond":{"type":"string"},"sir-amount":{"description":"numeric monetary value","title":"loc-extension/sir-amount","type":"number","example":123.42},"occurrence-attachment-point":{"type":"number","format":"double"},"policy-details":{"type":"string"},"alae-treatment":{"type":"string"},"policy-type":{"type":"string"},"bond-type":{"type":"string"},"bond-contact":{"type":"string","format":"uuid"},"bond-status":{"type":"string"},"sub-coverage-line":{"type":"string"},"bond-fe-taxes":{"description":"numeric monetary value","title":"loc-extension/bond-fe-taxes","type":"number","example":123.42},"terms-and-conditions":{"type":"string"},"endorsement":{"type":"string"},"layer-type":{"type":"string"},"attach-amount":{"type":"number","format":"double"},"net-premium":{"description":"numeric monetary value","title":"loc-extension/net-premium","type":"number","example":123.42},"program-year":{"type":"string"},"retro-date":{"description":"date (format like \"2011-01-23\")","title":"loc-extension/retro-date","example":"2011-03-24"},"tail-date":{"description":"date (format like \"2011-01-23\")","title":"loc-extension/tail-date","example":"2011-03-24"},"quota-share-percent":{"type":"number","format":"double"},"aggregate-deductible":{"description":"numeric monetary value","title":"loc-extension/aggregate-deductible","type":"number","example":123.42},"limit-type":{"type":"string"}},"title":"line-of-coverage/extensions"},"additional-retentions":{"type":"array","items":{"type":"object","properties":{"retention-type":{"type":"string"},"retention-description":{"type":"string"},"applies-to":{"type":"array","items":{"type":"string"}},"retention-amount":{"type":"number","format":"double"}},"title":"line-of-coverage/additional-retention"}},"coverage-limit-per-claim":{"description":"numeric monetary value","title":"line-of-coverage/coverage-limit-per-claim","type":"number","example":123.42},"premium":{"description":"numeric monetary value","title":"line-of-coverage/premium","type":"number","example":123.42},"additional-limits":{"type":"array","items":{"type":"object","properties":{"additional-limit-type":{"type":"string"},"additional-limit-description":{"type":"string"},"additional-limit-amount":{"type":"number","format":"double"},"sublimit":{"type":"boolean"},"sublimit-description":{"type":"string"},"sublimit-amount":{"type":"number","format":"double"}},"title":"line-of-coverage/additional-limit"}},"external-identifier":{"type":"string","description":"The external identifier of the line-of-coverage","title":"line-of-coverage external identifier","example":"LINE_OF_COVERAGE_ID"},"deductible":{"description":"numeric monetary value","title":"line-of-coverage/deductible","type":"number","example":123.42},"coverage-type":{"x-allOf":[{},{}]},"total-coverage-limit":{"description":"numeric monetary value","title":"line-of-coverage/total-coverage-limit","type":"number","example":123.42}},"required":["coverage-type"],"title":"policy-period/line-of-coverage"}},"documents":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string","description":"A filename shown in the files list (e.g. \"photo-01.jpg\")","title":"file/filename"},"content-type":{"type":"string","description":"The content-type of the file data (e.g. \"image/jpeg\")","title":"file/content-type"},"content-length":{"type":"integer","description":"The content-length of the file data measured in bytes","title":"file/content-length"},"coverage-types":{"type":"array","items":{"x-allOf":[{},{}]}},"external-identifier":{"type":"string","description":"The external identifier of the policy-period-document","title":"policy-period-document external identifier","example":"POLICY_PERIOD_DOCUMENT_ID"}},"required":["filename","content-type","content-length","coverage-types"],"title":"policy-period/document"}},"extensions":{"type":"object","properties":{"policy-year":{"type":"integer","format":"int64"},"policy-received":{"type":"boolean"}},"title":"policy-period/extensions"}},"required":["effective"],"title":"policy/period"}},"carrier":{"type":"string"},"description":{"type":"string"}},"required":["carrier","policy-number","close-with-date"],"title":"quay.api/policy"}},"required":["company-ident","policy"],"title":"quay.policy/upsert"}}],"summary":"Create or update a policy","security":[{"apiKeyAuth":[]}],"tags":["policies"]}},"/v2/answers":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"quay.answers/upsert","description":"","required":true,"schema":{"type":"object","properties":{"workflow-id":{"type":"string","format":"uuid"},"source-identifier":{"type":"string","description":"The source-identifier of the answer-bundle","title":"answer-bundle source-identifier","example":"SOURCE_IDENTIFIER"},"model-id":{"type":"string","format":"uuid"},"external-identifier":{"type":"string","description":"The external identifier of the answer-bundle","title":"answer-bundle external identifier","example":"ANSWER_BUNDLE_ID"},"files":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string","description":"A filename shown in the files list (e.g. \"photo-01.jpg\")","title":"file/filename"},"content-type":{"type":"string","description":"The content-type of the file data (e.g. \"image/jpeg\")","title":"file/content-type"},"content-length":{"type":"integer","description":"The content-length of the file data measured in bytes","title":"file/content-length"},"confidential?":{"type":"boolean","description":"True when file is considered secure and should only be shown to users with view-confidential permission","title":"file/confidential?"},"tags":{"type":"array","items":{"type":"string"},"description":"An array of strings to tag the file with. The tags must already be created on the company.","title":"file/tags"},"external-identifier":{"type":"string","description":"The external identifier of the file","title":"file external identifier","example":"FILE_ID"}},"required":["filename","content-type","content-length"],"title":"quay.api.v2.answers/file"}},"input-map-id":{"type":"string","format":"uuid"},"workflow":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"aclaimant.service.routes.quay/workflow"},"answers":{"type":"object","additionalProperties":{},"title":"deprecated way of specifying inputs"},"search-results":{"type":"object","additionalProperties":{"type":"string"},"description":"search result ident to look up values by","title":"quay.api/search-results","example":{"search-name":"ident-of-a-search-result"}},"pipeline-run-identifier":{"type":"string"},"events":{"type":"array","items":{"type":"object","properties":{"date":{"description":"date (format like \"2011-01-23\")","title":"quay.api/date","example":"2011-03-24"},"type":{"type":"string","description":"event type (e.g. \"Return to Work\")","title":"event/type","example":"Return to Work"},"category":{"type":"string","description":"event category string","title":"event/category","example":"category name"},"subject":{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}],"description":"a tuple in the pattern [title subtitle]","title":"event/subject","example":["Title","subtitle"]},"note":{"type":"string","description":"event note string","title":"event/note"},"location":{"type":"string","description":"event location string","title":"event/location","example":"location of event"},"sub-category":{"type":"string","description":"event sub-category string","title":"event/sub-category","example":"subcategory name"},"external-identifier":{"type":"string","description":"The external identifier of the event","title":"event external identifier","example":"EVENT_ID"}},"required":["date","type","category"],"title":"quay.api.v2/event"}},"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"state":{"x-allOf":[{},{"enum":["pending","completed","submitted","cancelled","draft"],"type":"string"}],"description":"one of the valid states for an answer bundle (e.g. \"draft\", \"submitted\", etc)","title":"quay.api/state","example":"submitted"},"inputs":{"type":"object","additionalProperties":{},"title":"inputs"},"messages":{"type":"array","items":{"type":"object","properties":{"sender-phone-number":{"x-anyOf":[{},{"enum":["quay.api/delete"],"type":"string"}],"description":"a valid phone-number or \"quay.api/delete\"","title":"message/sender-phone-number"},"external-identifier":{"type":"string","description":"The external identifier of the message","title":"message external identifier","example":"MESSAGE_ID"},"sender-user-id":{"type":"string","format":"uuid","x-anyOf":[{"type":"string","format":"uuid"},{"enum":["quay.api/delete"],"type":"string"}],"description":"a valid UUID or \"quay.api/delete\"","title":"message/sender-user-id","example":"9b132a70-522d-469a-ada9-8aaccf55fde7"},"received-at":{"description":"datetime or datetime string (format like \"2011-01-23T18:37:49Z\")","title":"message/received-at"},"sender-email":{"x-anyOf":[{},{"enum":["quay.api/delete"],"type":"string"}],"description":"a valid email or \"quay.api/delete\"","title":"message/sender-email","example":"bill.lumberg@initec.com"},"metadata":{"x-anyOf":[{},{"enum":["quay.api/delete"],"type":"string"}],"description":"a map of email metadata fields","title":"message/metadata"},"confidential?":{"description":"true/false","title":"message/confidential?"},"body-markdown":{"type":"string","description":"markdown","title":"message/body-markdown"},"attachments":{"x-anyOf":[{},{"enum":["quay.api/delete"],"type":"string"}]},"sender-name":{"type":"string","x-anyOf":[{"type":"string"},{"enum":["quay.api/delete"],"type":"string"}],"description":"a valid string or \"quay.api/delete\"","title":"message/sender-name","example":"a string"}},"required":["received-at","body-markdown","sender-user-id","sender-email","sender-phone-number","sender-name"],"title":"quay.api.v2/message"}},"claims":{"type":"array","items":{"type":"object","properties":{"claim-reports":{"type":"array","items":{"type":"object","properties":{"reported-date":{"description":"date (format like \"2011-01-23\")","title":"claim-report/reported-date","example":"2011-03-24"},"entries":{"type":"array","items":{"type":"object","properties":{"category":{"enum":["medical","legal","indemnity","general","property-damage","recovery","cargo-loss","vocational","cargo-damage","expense"],"type":"string","description":"entry category (e.g. \"medical\")","title":"claim-report-entry/category"},"payments":{"description":"entry payments amount","type":"number","example":123.42,"title":"claim-report-entry/payments"},"oslr":{"description":"OSLR payments amount","type":"number","example":123.42,"title":"claim-report-entry/oslr"},"reserves":{"description":"reserve payments amount","type":"number","example":123.42,"title":"claim-report-entry/reserves"},"recovery":{"description":"recovery payments amount","type":"number","example":123.42,"title":"claim-report-entry/recovery"}},"required":["category","payments","oslr"],"title":"claim-report/entry"}},"adjuster":{"type":"string","description":"adjuster string","title":"claim-report/adjuster"},"adjuster-phone":{"type":"string","description":"adjuster phone-number string","title":"claim-report/adjuster-phone"},"adjuster-email":{"type":"string","description":"adjuster email address string","title":"claim-report/adjuster-email"},"external-identifier":{"type":"string","description":"The external identifier of the claim-report","title":"claim-report external identifier","example":"CLAIM_REPORT_ID"},"note":{"type":"string","description":"note string","title":"claim-report/note"},"target-close-date":{"description":"date (format like \"2011-01-23\")","title":"claim-report/target-close-date","example":"2011-03-24"}},"required":["reported-date","entries"],"title":"quay.api.v2/claim-report"}},"status-date":{"description":"date (format like \"2011-01-23\")","title":"claim/status-date","example":"2011-03-24"},"external-identifier":{"type":"string","description":"The external identifier of the claim","title":"claim external identifier","example":"CLAIM_ID"},"policy-period-effective-date":{"description":"date (format like \"2011-01-23\")","title":"claim/policy-period-effective-date","example":"2011-03-24"},"default-adjuster":{"type":"string"},"status":{"enum":["closed","open"],"type":"string","description":"claim status (e.g. \"open\" or \"closed\")","title":"claim/status","example":"open"},"subject":{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}],"description":"a tuple in the pattern [title subtitle]","title":"event/subject","example":["Title","subtitle"]},"default-adjuster-email":{"type":"string"},"claim-number":{"type":"string","description":"claim number for the claim","title":"claim/claim-number","example":"CLAIM_NUMBER"},"submitted-date":{"description":"date (format like \"2011-01-23\")","title":"claim/submitted-date","example":"2011-03-24"},"coverage-type":{"description":"coverage type string (e.g. \"workers-comp\")","title":"claim/coverage-type","example":"workers-comp"},"default-adjuster-phone":{"type":"string"},"transactions":{"type":"array","items":{"type":"object","properties":{"tax-id":{"type":"string","description":"tax identifier string","title":"transaction/tax-id","example":"tax identifier"},"payee-type":{"type":"string","description":"string","title":"transaction/payee-type"},"diagnosis-code-2":{"type":"string","description":"string","title":"transaction/diagnosis-code-2"},"indicator-4850":{"description":"4859 Indicator?","title":"transaction/indicator-4850","example":"false"},"invoice-amount":{"description":"numeric monetary value","title":"transaction/invoice-amount","type":"number","example":123.42},"payee":{"type":"string","description":"payee string","title":"transaction/payee","example":"payee name"},"diagnosis-code-6":{"type":"string","description":"string","title":"transaction/diagnosis-code-6"},"diagnosis-code-5":{"type":"string","description":"string","title":"transaction/diagnosis-code-5"},"exempt-1099":{"description":"1099 Exempt?","title":"transaction/exempt-1099","example":"true"},"payee-address":{"type":"string","description":"string","title":"transaction/payee-address"},"external-identifier":{"type":"string","description":"The external identifier of the transaction","title":"transaction external identifier","example":"TRANSACTION_ID"},"account-number":{"type":"string","description":"string","title":"transaction/account-number"},"sub-category":{"type":"string","description":"sub-category string","title":"transaction/sub-category","example":"sub-category"},"payer":{"type":"string","description":"payer string","title":"transaction/payer","example":"payer name"},"procedure-type-code":{"type":"string","description":"string","title":"transaction/procedure-type-code"},"note":{"type":"string","description":"note string","title":"transaction/note","example":"a note"},"check-identifier":{"type":"string","description":"check identifier string","title":"transaction/check-identifier","example":"check identifier"},"invoice-date":{"description":"date (format like \"2011-01-23\")","title":"transaction/invoice-date","example":"2011-03-24"},"self-pay?":{"description":"Self pay?","title":"transaction/self-pay?","example":"false"},"routing-number":{"type":"string","description":"string","title":"transaction/routing-number"},"service-end":{"description":"date (format like \"2011-01-23\")","title":"transaction/service-end","example":"2011-03-24"},"diagnosis-code-3":{"type":"string","description":"string","title":"transaction/diagnosis-code-3"},"diagnosis-code-7":{"type":"string","description":"string","title":"transaction/diagnosis-code-7"},"recovery":{"description":"numeric monetary value","title":"transaction/recovery","type":"number","example":123.42},"diagnosis-code-11":{"type":"string","description":"string","title":"transaction/diagnosis-code-11"},"service-code":{"type":"string","description":"string","title":"transaction/service-code"},"service-begin":{"description":"date (format like \"2011-01-23\")","title":"transaction/service-begin","example":"2011-03-24"},"adjuster-name":{"type":"string","description":"adjuster name string","title":"transaction/adjuster-name","example":"adjuster name"},"diagnosis-code-8":{"type":"string","description":"string","title":"transaction/diagnosis-code-8"},"payments":{"description":"numeric monetary value","title":"transaction/payments","type":"number","example":123.42},"check-issue-date":{"description":"date (format like \"2011-01-23\")","title":"transaction/check-issue-date","example":"2011-03-24"},"reserves":{"description":"numeric monetary value","title":"transaction/reserves","type":"number","example":123.42},"check-void-date":{"description":"date (format like \"2011-01-23\")","title":"transaction/check-void-date","example":"2011-03-24"},"documents":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string","description":"A filename shown in the files list (e.g. \"photo-01.jpg\")","title":"file/filename"},"content-type":{"type":"string","description":"The content-type of the file data (e.g. \"image/jpeg\")","title":"file/content-type"},"content-length":{"type":"integer","description":"The content-length of the file data measured in bytes","title":"file/content-length"},"external-identifier":{"type":"string","description":"The external identifier of the transaction-document","title":"transaction-document external identifier","example":"TRANSACTION_DOCUMENT_ID"}},"required":["filename","content-type","content-length"],"title":"transaction/document"}},"date":{"description":"date (format like \"2011-01-23\")","title":"transaction/date","example":"2011-03-24"},"invoice-identifier":{"type":"string","description":"invoice identifier string","title":"transaction/invoice-identifier","example":"invoice identifier"},"diagnosis-code-4":{"type":"string","description":"string","title":"transaction/diagnosis-code-4"},"category":{"x-allOf":[{},{"enum":["expense","general","medical","legal","indemnity","cargo-damage","vocational","cargo-loss","property-damage","recovery"],"type":"string"}],"description":"claim transaction category","title":"transaction/category","example":"general"},"check-clear-date":{"description":"date (format like \"2011-01-23\")","title":"transaction/check-clear-date","example":"2011-03-24"},"check-memo":{"type":"string","description":"string","title":"transaction/check-memo"},"bank-name":{"type":"string","description":"string","title":"transaction/bank-name"},"diagnosis-code-9":{"type":"string","description":"string","title":"transaction/diagnosis-code-9"},"diagnosis-code-1":{"type":"string","description":"string","title":"transaction/diagnosis-code-1"},"diagnosis-code-10":{"type":"string","description":"string","title":"transaction/diagnosis-code-10"},"payee-address-type":{"type":"string","description":"string","title":"transaction/payee-address-type"},"diagnosis-code-12":{"type":"string","description":"string","title":"transaction/diagnosis-code-12"},"payment-document-type-code":{"type":"string","description":"string","title":"transaction/payment-document-type-code"}},"required":["date","category","payments","recovery","reserves"],"title":"quay.api.v2/transaction"}},"extended-fields":{"type":"object"},"track-reserves?":{"type":"boolean","description":"true when claim should track reserve amount. Note: 'track reserves' feature must be enabled in the target company.","title":"claim/track-reserves?"},"policy-external-ident":{"type":"string","description":"The external identifier of the policy","title":"policy external identifier","example":"POLICY_ID"}},"required":["claim-number","submitted-date","status","track-reserves?"],"title":"quay.api.v2/claim"}},"input-map":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"aclaimant.service.routes.quay/input-map"}},"required":["company-ident","model-id","external-identifier","workflow-id","workflow","input-map-id","input-map"],"title":"quay.answers/upsert"}}],"summary":"Create or update a response (single answer bundle) to a workflow","security":[{"apiKeyAuth":[]}],"tags":["answers"]}},"/v1/answers":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"quay.answers/create","description":"","required":true,"schema":{"type":"object","properties":{"workflow-id":{"type":"string","format":"uuid"},"files":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string","description":"A filename shown in the files list (e.g. \"photo-01.jpg\")","title":"file/filename"},"content-type":{"type":"string","description":"The content-type of the file data (e.g. \"image/jpeg\")","title":"file/content-type"},"content-length":{"type":"integer","description":"The content-length of the file data measured in bytes","title":"file/content-length"},"confidential?":{"type":"boolean","description":"True when file is considered secure and should only be shown to users with view-confidential permission","title":"file/confidential?"},"tags":{"type":"array","items":{"type":"string"},"description":"An array of strings to tag the file with. The tags must already be created on the company.","title":"file/tags"}},"required":["filename","content-type","content-length"],"title":"quay.api.answers/file"}},"input-map-id":{"type":"string","format":"uuid"},"workflow":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"aclaimant.service.routes.quay/workflow"},"answers":{"type":"object","additionalProperties":{},"title":"deprecated way of specifying inputs"},"search-results":{"type":"object","additionalProperties":{"type":"string"},"description":"search result ident to look up values by","title":"quay.api/search-results","example":{"search-name":"ident-of-a-search-result"}},"pipeline-run-identifier":{"type":"string"},"events":{"type":"array","items":{"type":"object","properties":{"date":{"description":"date (format like \"2011-01-23\")","title":"quay.api/date","example":"2011-03-24"},"type":{"type":"string","description":"event type (e.g. \"Return to Work\")","title":"event/type","example":"Return to Work"},"category":{"type":"string","description":"event category string","title":"event/category","example":"category name"},"subject":{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}],"description":"a tuple in the pattern [title subtitle]","title":"event/subject","example":["Title","subtitle"]},"note":{"type":"string","description":"event note string","title":"event/note"},"location":{"type":"string","description":"event location string","title":"event/location","example":"location of event"},"sub-category":{"type":"string","description":"event sub-category string","title":"event/sub-category","example":"subcategory name"},"external-ident":{"type":"string","description":"external identifier for this event","title":"event/external-ident","example":"EVENT_IDENT"}},"required":["date","type","category"],"title":"quay.api/event"}},"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"state":{"x-allOf":[{},{"enum":["pending","completed","submitted","cancelled","draft"],"type":"string"}],"description":"one of the valid states for an answer bundle (e.g. \"draft\", \"submitted\", etc)","title":"quay.api/state","example":"submitted"},"external-ident":{"type":"string","description":"The external-ident of the answer bundle","title":"external-ident","example":"YOUR_IDENT"},"claims":{"type":"array","items":{"type":"object","properties":{"status-date":{"description":"date (format like \"2011-01-23\")","title":"claim/status-date","example":"2011-03-24"},"policy-period-effective-date":{"description":"date (format like \"2011-01-23\")","title":"claim/policy-period-effective-date","example":"2011-03-24"},"default-adjuster":{"type":"string"},"status":{"enum":["closed","open"],"type":"string","description":"claim status (e.g. \"open\" or \"closed\")","title":"claim/status","example":"open"},"subject":{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}],"description":"a tuple in the pattern [title subtitle]","title":"event/subject","example":["Title","subtitle"]},"default-adjuster-email":{"type":"string"},"claim-number":{"type":"string","description":"claim number for the claim","title":"claim/claim-number","example":"CLAIM_NUMBER"},"submitted-date":{"description":"date (format like \"2011-01-23\")","title":"claim/submitted-date","example":"2011-03-24"},"coverage-type":{"description":"coverage type string (e.g. \"workers-comp\")","title":"claim/coverage-type","example":"workers-comp"},"default-adjuster-phone":{"type":"string"},"extended-fields":{"type":"object"},"track-reserves?":{"type":"boolean","description":"true when claim should track reserve amount. Note: 'track reserves' feature must be enabled in the target company.","title":"claim/track-reserves?"},"policy-external-ident":{"type":"string","description":"The external identifier of the policy","title":"policy external identifier","example":"POLICY_ID"}},"required":["claim-number","submitted-date","status","track-reserves?"],"title":"quay.api/claim"}},"input-map":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"aclaimant.service.routes.quay/input-map"}},"required":["company-ident","external-ident","workflow-id","workflow","input-map-id","input-map"],"title":"quay.answers/create"}}],"summary":"Create a response (answer bundle) to a workflow","security":[{"apiKeyAuth":[]}],"tags":["answers"]},"patch":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"quay.answers/update","description":"","required":true,"schema":{"type":"object","properties":{"workflow-id":{"type":"string","format":"uuid"},"hash":{"type":"string"},"input-map-id":{"type":"string","format":"uuid"},"workflow":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"aclaimant.service.routes.quay/workflow"},"answers":{"type":"object","additionalProperties":{},"title":"deprecated way of specifying inputs"},"search-results":{"type":"object","additionalProperties":{"type":"string"},"description":"search result ident to look up values by","title":"quay.api/search-results","example":{"search-name":"ident-of-a-search-result"}},"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"state":{"x-allOf":[{},{"enum":["pending","completed","submitted","cancelled","draft"],"type":"string"}],"description":"one of the valid states for an answer bundle (e.g. \"draft\", \"submitted\", etc)","title":"quay.api/state","example":"submitted"},"external-ident":{"type":"string","description":"The external-ident of the answer bundle","title":"external-ident","example":"YOUR_IDENT"},"input-map":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"aclaimant.service.routes.quay/input-map"}},"required":["company-ident","external-ident","workflow-id","workflow","input-map-id","input-map","answers","search-results","state"],"title":"quay.answers/update"}}],"security":[{"apiKeyAuth":[]}],"tags":["answers"]}},"/v2/bulk/exposures":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"quay.exposures.bulk/upsert","description":"","required":true,"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"end-date":{"description":"date (format like \"2011-01-23\")","title":"exposure/end-date","example":"2011-03-24"},"answer-bundle-external-identifier":{"type":"string","description":"The external identifier of the asset or location","title":"asset or location external identifier","example":"ASSET_OR_LOCATION_ID"},"subcategory-value":{"type":"string","x-nullable":true},"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"category-name":{"type":"string","x-nullable":true},"category-value":{"type":"string","x-nullable":true},"subcategory-name":{"type":"string","x-nullable":true},"start-date":{"description":"date (format like \"2011-01-23\")","title":"exposure/start-date","example":"2011-03-24"},"data":{"type":"object"},"answer-bundle-model-id":{"type":"string","format":"uuid"}},"required":["company-ident","data","start-date","answer-bundle-external-identifier","answer-bundle-model-id"]}},"payload-url":{"type":"string","x-nullable":true},"description":{"type":"string","x-nullable":true}},"title":"quay.exposures.bulk/upsert"}}],"summary":"Upsert many exposures to assets and locations. Enqueues a bulk job and returns a status URL","security":[{"apiKeyAuth":[]}],"tags":["bulk","exposures"]}},"/v1/claims/{policy-external-ident}/{claim-number}/claim-reports":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"path","name":"claim-number","description":"claim number for the claim","type":"string","required":true,"title":"claim/claim-number","example":"CLAIM_NUMBER"},{"in":"path","name":"policy-external-ident","description":"The external identifier of the policy","type":"string","required":true,"title":"policy external identifier","example":"POLICY_ID"},{"in":"body","name":"body","description":"","required":true,"schema":{"type":"object","properties":{"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"claim-report":{"type":"object","properties":{"reported-date":{"description":"date (format like \"2011-01-23\")","title":"claim-report/reported-date","example":"2011-03-24"},"entries":{"type":"array","items":{"type":"object","properties":{"category":{"enum":["medical","legal","indemnity","general","property-damage","recovery","cargo-loss","vocational","cargo-damage","expense"],"type":"string","description":"entry category (e.g. \"medical\")","title":"claim-report-entry/category"},"payments":{"description":"entry payments amount","type":"number","example":123.42,"title":"claim-report-entry/payments"},"oslr":{"description":"OSLR payments amount","type":"number","example":123.42,"title":"claim-report-entry/oslr"},"reserves":{"description":"reserve payments amount","type":"number","example":123.42,"title":"claim-report-entry/reserves"},"recovery":{"description":"recovery payments amount","type":"number","example":123.42,"title":"claim-report-entry/recovery"}},"required":["category","payments","oslr"],"title":"claim-report/entry"}},"adjuster":{"type":"string","description":"adjuster string","title":"claim-report/adjuster"},"adjuster-phone":{"type":"string","description":"adjuster phone-number string","title":"claim-report/adjuster-phone"},"adjuster-email":{"type":"string","description":"adjuster email address string","title":"claim-report/adjuster-email"},"note":{"type":"string","description":"note string","title":"claim-report/note"},"target-close-date":{"description":"date (format like \"2011-01-23\")","title":"claim-report/target-close-date","example":"2011-03-24"}},"required":["reported-date","entries"],"title":"quay.api/claim-report"}},"required":["company-ident","claim-report"]}}],"security":[{"apiKeyAuth":[]}],"tags":["answers"]}},"/v2/bulk/programs":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"quay.programs.bulk/upsert","description":"","required":true,"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"program":{"type":"object","properties":{"name":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"program/name"},"coverage-types":{"type":"array","items":{"description":"coverage type string (e.g. \"workers-comp\")","title":"claim/coverage-type","example":"workers-comp"}},"external-ident":{"type":"string","description":"The external identifier of the program","title":"program external identifier","example":"PROGRAM_ID"},"description":{"type":"string"},"currency":{"type":"string"},"loc-external-idents":{"type":"array","items":{"type":"string"}}},"required":["name","coverage-types"],"title":"quay.api/program"}},"required":["company-ident","program"]}},"payload-url":{"type":"string","x-nullable":true},"description":{"type":"string","x-nullable":true}},"title":"quay.programs.bulk/upsert"}}],"summary":"Upsert many policy programs. Enqueues a bulk job and returns a status URL","security":[{"apiKeyAuth":[]}],"tags":["bulk","policy-programs"]}},"/v1/claims/{claim-id}":{"patch":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"path","name":"claim-id","description":"claim ID for the claim","type":null,"required":true,"title":"claim/claim-id","example":"CLAIM_ID"},{"in":"body","name":"body","description":"","required":true,"schema":{"type":"object","properties":{"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"claim":{"type":"object","properties":{"status-date":{"description":"date (format like \"2011-01-23\")","title":"claim/status-date","example":"2011-03-24"},"policy-period-effective-date":{"description":"date (format like \"2011-01-23\")","title":"claim/policy-period-effective-date","example":"2011-03-24"},"default-adjuster":{"type":"string"},"status":{"enum":["closed","open"],"type":"string","description":"claim status (e.g. \"open\" or \"closed\")","title":"claim/status","example":"open"},"subject":{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}],"x-anyOf":[{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}]},{"enum":["quay.api/delete"],"type":"string"}],"description":"a tuple in the pattern [title subtitle]","title":"quay.api.patch/subject","example":["Title","subtitle"]},"default-adjuster-email":{"type":"string"},"claim-number":{"type":"string","description":"claim number for the claim","title":"claim.patch/claim-number","example":"CLAIM_NUMBER"},"submitted-date":{"description":"date (format like \"2011-01-23\")","title":"claim.patch/submitted-date","example":"2011-03-24"},"coverage-type":{"description":"coverage type string (e.g. \"workers-comp\")","title":"claim/coverage-type","example":"workers-comp"},"default-adjuster-phone":{"type":"string"},"policy-external-ident":{"type":"string","description":"The external identifier of the policy","title":"policy external identifier","example":"POLICY_ID"}},"title":"quay.api.patch/claim"},"pipeline-run-identifier":{"type":"string"}},"required":["company-ident","claim"]}}],"security":[{"apiKeyAuth":[]}],"tags":["answers"]}},"/v2/bulk/answers":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"quay.answers.bulk/upsert","description":"","required":true,"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"workflow-id":{"type":"string","format":"uuid"},"source-identifier":{"type":"string","description":"The source-identifier of the answer-bundle","title":"answer-bundle source-identifier","example":"SOURCE_IDENTIFIER"},"model-id":{"type":"string","format":"uuid"},"external-identifier":{"type":"string","description":"The external identifier of the answer-bundle","title":"answer-bundle external identifier","example":"ANSWER_BUNDLE_ID"},"files":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string","description":"A filename shown in the files list (e.g. \"photo-01.jpg\")","title":"file/filename"},"content-type":{"type":"string","description":"The content-type of the file data (e.g. \"image/jpeg\")","title":"file/content-type"},"content-length":{"type":"integer","description":"The content-length of the file data measured in bytes","title":"file/content-length"},"confidential?":{"type":"boolean","description":"True when file is considered secure and should only be shown to users with view-confidential permission","title":"file/confidential?"},"tags":{"type":"array","items":{"type":"string"},"description":"An array of strings to tag the file with. The tags must already be created on the company.","title":"file/tags"},"external-identifier":{"type":"string","description":"The external identifier of the file","title":"file external identifier","example":"FILE_ID"}},"required":["filename","content-type","content-length"],"title":"quay.api.v2.answers/file"}},"input-map-id":{"type":"string","format":"uuid"},"workflow":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"aclaimant.service.routes.quay/workflow"},"answers":{"type":"object","additionalProperties":{},"title":"deprecated way of specifying inputs"},"search-results":{"type":"object","additionalProperties":{"type":"string"},"description":"search result ident to look up values by","title":"quay.api/search-results","example":{"search-name":"ident-of-a-search-result"}},"pipeline-run-identifier":{"type":"string"},"events":{"type":"array","items":{"type":"object","properties":{"date":{"description":"date (format like \"2011-01-23\")","title":"quay.api/date","example":"2011-03-24"},"type":{"type":"string","description":"event type (e.g. \"Return to Work\")","title":"event/type","example":"Return to Work"},"category":{"type":"string","description":"event category string","title":"event/category","example":"category name"},"subject":{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}],"description":"a tuple in the pattern [title subtitle]","title":"event/subject","example":["Title","subtitle"]},"note":{"type":"string","description":"event note string","title":"event/note"},"location":{"type":"string","description":"event location string","title":"event/location","example":"location of event"},"sub-category":{"type":"string","description":"event sub-category string","title":"event/sub-category","example":"subcategory name"},"external-identifier":{"type":"string","description":"The external identifier of the event","title":"event external identifier","example":"EVENT_ID"}},"required":["date","type","category"],"title":"quay.api.v2/event"}},"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"state":{"x-allOf":[{},{"enum":["pending","completed","submitted","cancelled","draft"],"type":"string"}],"description":"one of the valid states for an answer bundle (e.g. \"draft\", \"submitted\", etc)","title":"quay.api/state","example":"submitted"},"inputs":{"type":"object","additionalProperties":{},"title":"inputs"},"messages":{"type":"array","items":{"type":"object","properties":{"sender-phone-number":{"x-anyOf":[{},{"enum":["quay.api/delete"],"type":"string"}],"description":"a valid phone-number or \"quay.api/delete\"","title":"message/sender-phone-number"},"external-identifier":{"type":"string","description":"The external identifier of the message","title":"message external identifier","example":"MESSAGE_ID"},"sender-user-id":{"type":"string","format":"uuid","x-anyOf":[{"type":"string","format":"uuid"},{"enum":["quay.api/delete"],"type":"string"}],"description":"a valid UUID or \"quay.api/delete\"","title":"message/sender-user-id","example":"9b132a70-522d-469a-ada9-8aaccf55fde7"},"received-at":{"description":"datetime or datetime string (format like \"2011-01-23T18:37:49Z\")","title":"message/received-at"},"sender-email":{"x-anyOf":[{},{"enum":["quay.api/delete"],"type":"string"}],"description":"a valid email or \"quay.api/delete\"","title":"message/sender-email","example":"bill.lumberg@initec.com"},"metadata":{"x-anyOf":[{},{"enum":["quay.api/delete"],"type":"string"}],"description":"a map of email metadata fields","title":"message/metadata"},"confidential?":{"description":"true/false","title":"message/confidential?"},"body-markdown":{"type":"string","description":"markdown","title":"message/body-markdown"},"attachments":{"x-anyOf":[{},{"enum":["quay.api/delete"],"type":"string"}]},"sender-name":{"type":"string","x-anyOf":[{"type":"string"},{"enum":["quay.api/delete"],"type":"string"}],"description":"a valid string or \"quay.api/delete\"","title":"message/sender-name","example":"a string"}},"required":["received-at","body-markdown","sender-user-id","sender-email","sender-phone-number","sender-name"],"title":"quay.api.v2/message"}},"claims":{"type":"array","items":{"type":"object","properties":{"claim-reports":{"type":"array","items":{"type":"object","properties":{"reported-date":{"description":"date (format like \"2011-01-23\")","title":"claim-report/reported-date","example":"2011-03-24"},"entries":{"type":"array","items":{"type":"object","properties":{"category":{"enum":["medical","legal","indemnity","general","property-damage","recovery","cargo-loss","vocational","cargo-damage","expense"],"type":"string","description":"entry category (e.g. \"medical\")","title":"claim-report-entry/category"},"payments":{"description":"entry payments amount","type":"number","example":123.42,"title":"claim-report-entry/payments"},"oslr":{"description":"OSLR payments amount","type":"number","example":123.42,"title":"claim-report-entry/oslr"},"reserves":{"description":"reserve payments amount","type":"number","example":123.42,"title":"claim-report-entry/reserves"},"recovery":{"description":"recovery payments amount","type":"number","example":123.42,"title":"claim-report-entry/recovery"}},"required":["category","payments","oslr"],"title":"claim-report/entry"}},"adjuster":{"type":"string","description":"adjuster string","title":"claim-report/adjuster"},"adjuster-phone":{"type":"string","description":"adjuster phone-number string","title":"claim-report/adjuster-phone"},"adjuster-email":{"type":"string","description":"adjuster email address string","title":"claim-report/adjuster-email"},"external-identifier":{"type":"string","description":"The external identifier of the claim-report","title":"claim-report external identifier","example":"CLAIM_REPORT_ID"},"note":{"type":"string","description":"note string","title":"claim-report/note"},"target-close-date":{"description":"date (format like \"2011-01-23\")","title":"claim-report/target-close-date","example":"2011-03-24"}},"required":["reported-date","entries"],"title":"quay.api.v2/claim-report"}},"status-date":{"description":"date (format like \"2011-01-23\")","title":"claim/status-date","example":"2011-03-24"},"external-identifier":{"type":"string","description":"The external identifier of the claim","title":"claim external identifier","example":"CLAIM_ID"},"policy-period-effective-date":{"description":"date (format like \"2011-01-23\")","title":"claim/policy-period-effective-date","example":"2011-03-24"},"default-adjuster":{"type":"string"},"status":{"enum":["closed","open"],"type":"string","description":"claim status (e.g. \"open\" or \"closed\")","title":"claim/status","example":"open"},"subject":{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}],"description":"a tuple in the pattern [title subtitle]","title":"event/subject","example":["Title","subtitle"]},"default-adjuster-email":{"type":"string"},"claim-number":{"type":"string","description":"claim number for the claim","title":"claim/claim-number","example":"CLAIM_NUMBER"},"submitted-date":{"description":"date (format like \"2011-01-23\")","title":"claim/submitted-date","example":"2011-03-24"},"coverage-type":{"description":"coverage type string (e.g. \"workers-comp\")","title":"claim/coverage-type","example":"workers-comp"},"default-adjuster-phone":{"type":"string"},"transactions":{"type":"array","items":{"type":"object","properties":{"tax-id":{"type":"string","description":"tax identifier string","title":"transaction/tax-id","example":"tax identifier"},"payee-type":{"type":"string","description":"string","title":"transaction/payee-type"},"diagnosis-code-2":{"type":"string","description":"string","title":"transaction/diagnosis-code-2"},"indicator-4850":{"description":"4859 Indicator?","title":"transaction/indicator-4850","example":"false"},"invoice-amount":{"description":"numeric monetary value","title":"transaction/invoice-amount","type":"number","example":123.42},"payee":{"type":"string","description":"payee string","title":"transaction/payee","example":"payee name"},"diagnosis-code-6":{"type":"string","description":"string","title":"transaction/diagnosis-code-6"},"diagnosis-code-5":{"type":"string","description":"string","title":"transaction/diagnosis-code-5"},"exempt-1099":{"description":"1099 Exempt?","title":"transaction/exempt-1099","example":"true"},"payee-address":{"type":"string","description":"string","title":"transaction/payee-address"},"external-identifier":{"type":"string","description":"The external identifier of the transaction","title":"transaction external identifier","example":"TRANSACTION_ID"},"account-number":{"type":"string","description":"string","title":"transaction/account-number"},"sub-category":{"type":"string","description":"sub-category string","title":"transaction/sub-category","example":"sub-category"},"payer":{"type":"string","description":"payer string","title":"transaction/payer","example":"payer name"},"procedure-type-code":{"type":"string","description":"string","title":"transaction/procedure-type-code"},"note":{"type":"string","description":"note string","title":"transaction/note","example":"a note"},"check-identifier":{"type":"string","description":"check identifier string","title":"transaction/check-identifier","example":"check identifier"},"invoice-date":{"description":"date (format like \"2011-01-23\")","title":"transaction/invoice-date","example":"2011-03-24"},"self-pay?":{"description":"Self pay?","title":"transaction/self-pay?","example":"false"},"routing-number":{"type":"string","description":"string","title":"transaction/routing-number"},"service-end":{"description":"date (format like \"2011-01-23\")","title":"transaction/service-end","example":"2011-03-24"},"diagnosis-code-3":{"type":"string","description":"string","title":"transaction/diagnosis-code-3"},"diagnosis-code-7":{"type":"string","description":"string","title":"transaction/diagnosis-code-7"},"recovery":{"description":"numeric monetary value","title":"transaction/recovery","type":"number","example":123.42},"diagnosis-code-11":{"type":"string","description":"string","title":"transaction/diagnosis-code-11"},"service-code":{"type":"string","description":"string","title":"transaction/service-code"},"service-begin":{"description":"date (format like \"2011-01-23\")","title":"transaction/service-begin","example":"2011-03-24"},"adjuster-name":{"type":"string","description":"adjuster name string","title":"transaction/adjuster-name","example":"adjuster name"},"diagnosis-code-8":{"type":"string","description":"string","title":"transaction/diagnosis-code-8"},"payments":{"description":"numeric monetary value","title":"transaction/payments","type":"number","example":123.42},"check-issue-date":{"description":"date (format like \"2011-01-23\")","title":"transaction/check-issue-date","example":"2011-03-24"},"reserves":{"description":"numeric monetary value","title":"transaction/reserves","type":"number","example":123.42},"check-void-date":{"description":"date (format like \"2011-01-23\")","title":"transaction/check-void-date","example":"2011-03-24"},"documents":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string","description":"A filename shown in the files list (e.g. \"photo-01.jpg\")","title":"file/filename"},"content-type":{"type":"string","description":"The content-type of the file data (e.g. \"image/jpeg\")","title":"file/content-type"},"content-length":{"type":"integer","description":"The content-length of the file data measured in bytes","title":"file/content-length"},"external-identifier":{"type":"string","description":"The external identifier of the transaction-document","title":"transaction-document external identifier","example":"TRANSACTION_DOCUMENT_ID"}},"required":["filename","content-type","content-length"],"title":"transaction/document"}},"date":{"description":"date (format like \"2011-01-23\")","title":"transaction/date","example":"2011-03-24"},"invoice-identifier":{"type":"string","description":"invoice identifier string","title":"transaction/invoice-identifier","example":"invoice identifier"},"diagnosis-code-4":{"type":"string","description":"string","title":"transaction/diagnosis-code-4"},"category":{"x-allOf":[{},{"enum":["expense","general","medical","legal","indemnity","cargo-damage","vocational","cargo-loss","property-damage","recovery"],"type":"string"}],"description":"claim transaction category","title":"transaction/category","example":"general"},"check-clear-date":{"description":"date (format like \"2011-01-23\")","title":"transaction/check-clear-date","example":"2011-03-24"},"check-memo":{"type":"string","description":"string","title":"transaction/check-memo"},"bank-name":{"type":"string","description":"string","title":"transaction/bank-name"},"diagnosis-code-9":{"type":"string","description":"string","title":"transaction/diagnosis-code-9"},"diagnosis-code-1":{"type":"string","description":"string","title":"transaction/diagnosis-code-1"},"diagnosis-code-10":{"type":"string","description":"string","title":"transaction/diagnosis-code-10"},"payee-address-type":{"type":"string","description":"string","title":"transaction/payee-address-type"},"diagnosis-code-12":{"type":"string","description":"string","title":"transaction/diagnosis-code-12"},"payment-document-type-code":{"type":"string","description":"string","title":"transaction/payment-document-type-code"}},"required":["date","category","payments","recovery","reserves"],"title":"quay.api.v2/transaction"}},"extended-fields":{"type":"object"},"track-reserves?":{"type":"boolean","description":"true when claim should track reserve amount. Note: 'track reserves' feature must be enabled in the target company.","title":"claim/track-reserves?"},"policy-external-ident":{"type":"string","description":"The external identifier of the policy","title":"policy external identifier","example":"POLICY_ID"}},"required":["claim-number","submitted-date","status","track-reserves?"],"title":"quay.api.v2/claim"}},"input-map":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"aclaimant.service.routes.quay/input-map"}},"required":["company-ident","model-id","external-identifier","workflow-id","workflow","input-map-id","input-map"]}},"payload-url":{"type":"string","x-nullable":true},"description":{"type":"string","x-nullable":true},"store-payloads?":{"type":"boolean","x-nullable":true}},"title":"quay.answers.bulk/upsert"}}],"summary":"Upsert many answers to workflows. Enqueues a bulk job and returns a status URL","security":[{"apiKeyAuth":[]}],"tags":["bulk","answers"]}},"/v2/company":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"quay.company/upsert","description":"","required":true,"schema":{"type":"object","properties":{"collective-name":{"type":"string"},"integration-ident":{"type":"string"},"wide-logo-url":{"type":"string"},"port-from-company-slug":{"type":"string"},"logo-url":{"type":"string"},"collective-id":{"type":"string","format":"uuid"},"authentication-policy-name":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string","x-allOf":[{"type":"string"},{},{}]},"onboarding-status":{"type":"string"},"default-time-zone":{"type":"string"}},"required":["name","slug","default-time-zone","authentication-policy-name","onboarding-status"],"title":"quay.company/upsert"}}],"summary":"Create or update a company, optionally porting config from a source company","security":[{"apiKeyAuth":[]}],"tags":["companies"]}},"/v1/claims":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"body","description":"","required":true,"schema":{"type":"object","properties":{"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"external-ident":{"type":"string","description":"The external-ident of the answer bundle","title":"external-ident","example":"YOUR_IDENT"},"claim":{"type":"object","properties":{"status-date":{"description":"date (format like \"2011-01-23\")","title":"claim/status-date","example":"2011-03-24"},"policy-period-effective-date":{"description":"date (format like \"2011-01-23\")","title":"claim/policy-period-effective-date","example":"2011-03-24"},"default-adjuster":{"type":"string"},"status":{"enum":["closed","open"],"type":"string","description":"claim status (e.g. \"open\" or \"closed\")","title":"claim/status","example":"open"},"subject":{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}],"description":"a tuple in the pattern [title subtitle]","title":"event/subject","example":["Title","subtitle"]},"default-adjuster-email":{"type":"string"},"claim-number":{"type":"string","description":"claim number for the claim","title":"claim/claim-number","example":"CLAIM_NUMBER"},"submitted-date":{"description":"date (format like \"2011-01-23\")","title":"claim/submitted-date","example":"2011-03-24"},"coverage-type":{"description":"coverage type string (e.g. \"workers-comp\")","title":"claim/coverage-type","example":"workers-comp"},"default-adjuster-phone":{"type":"string"},"extended-fields":{"type":"object"},"track-reserves?":{"type":"boolean","description":"true when claim should track reserve amount. Note: 'track reserves' feature must be enabled in the target company.","title":"claim/track-reserves?"},"policy-external-ident":{"type":"string","description":"The external identifier of the policy","title":"policy external identifier","example":"POLICY_ID"}},"required":["claim-number","submitted-date","status","track-reserves?"],"title":"quay.api/claim"},"pipeline-run-identifier":{"type":"string"}},"required":["company-ident","external-ident","claim"]}}],"summary":"Create a claim for an existing item","security":[{"apiKeyAuth":[]}],"tags":["answers"]}},"/v1/bulk/answers":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"quay.answers.bulk/create","description":"","required":true,"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"workflow-id":{"type":"string","format":"uuid"},"files":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string","description":"A filename shown in the files list (e.g. \"photo-01.jpg\")","title":"file/filename"},"content-type":{"type":"string","description":"The content-type of the file data (e.g. \"image/jpeg\")","title":"file/content-type"},"content-length":{"type":"integer","description":"The content-length of the file data measured in bytes","title":"file/content-length"},"confidential?":{"type":"boolean","description":"True when file is considered secure and should only be shown to users with view-confidential permission","title":"file/confidential?"},"tags":{"type":"array","items":{"type":"string"},"description":"An array of strings to tag the file with. The tags must already be created on the company.","title":"file/tags"}},"required":["filename","content-type","content-length"],"title":"quay.api.answers/file"}},"input-map-id":{"type":"string","format":"uuid"},"workflow":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"aclaimant.service.routes.quay/workflow"},"answers":{"type":"object","additionalProperties":{},"title":"deprecated way of specifying inputs"},"search-results":{"type":"object","additionalProperties":{"type":"string"},"description":"search result ident to look up values by","title":"quay.api/search-results","example":{"search-name":"ident-of-a-search-result"}},"pipeline-run-identifier":{"type":"string"},"events":{"type":"array","items":{"type":"object","properties":{"date":{"description":"date (format like \"2011-01-23\")","title":"quay.api/date","example":"2011-03-24"},"type":{"type":"string","description":"event type (e.g. \"Return to Work\")","title":"event/type","example":"Return to Work"},"category":{"type":"string","description":"event category string","title":"event/category","example":"category name"},"subject":{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}],"description":"a tuple in the pattern [title subtitle]","title":"event/subject","example":["Title","subtitle"]},"note":{"type":"string","description":"event note string","title":"event/note"},"location":{"type":"string","description":"event location string","title":"event/location","example":"location of event"},"sub-category":{"type":"string","description":"event sub-category string","title":"event/sub-category","example":"subcategory name"},"external-ident":{"type":"string","description":"external identifier for this event","title":"event/external-ident","example":"EVENT_IDENT"}},"required":["date","type","category"],"title":"quay.api/event"}},"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"state":{"x-allOf":[{},{"enum":["pending","completed","submitted","cancelled","draft"],"type":"string"}],"description":"one of the valid states for an answer bundle (e.g. \"draft\", \"submitted\", etc)","title":"quay.api/state","example":"submitted"},"external-ident":{"type":"string","description":"The external-ident of the answer bundle","title":"external-ident","example":"YOUR_IDENT"},"claims":{"type":"array","items":{"type":"object","properties":{"status-date":{"description":"date (format like \"2011-01-23\")","title":"claim/status-date","example":"2011-03-24"},"policy-period-effective-date":{"description":"date (format like \"2011-01-23\")","title":"claim/policy-period-effective-date","example":"2011-03-24"},"default-adjuster":{"type":"string"},"status":{"enum":["closed","open"],"type":"string","description":"claim status (e.g. \"open\" or \"closed\")","title":"claim/status","example":"open"},"subject":{"type":"array","items":{},"x-items":[{"type":"string"},{"type":"string","x-nullable":true}],"description":"a tuple in the pattern [title subtitle]","title":"event/subject","example":["Title","subtitle"]},"default-adjuster-email":{"type":"string"},"claim-number":{"type":"string","description":"claim number for the claim","title":"claim/claim-number","example":"CLAIM_NUMBER"},"submitted-date":{"description":"date (format like \"2011-01-23\")","title":"claim/submitted-date","example":"2011-03-24"},"coverage-type":{"description":"coverage type string (e.g. \"workers-comp\")","title":"claim/coverage-type","example":"workers-comp"},"default-adjuster-phone":{"type":"string"},"extended-fields":{"type":"object"},"track-reserves?":{"type":"boolean","description":"true when claim should track reserve amount. Note: 'track reserves' feature must be enabled in the target company.","title":"claim/track-reserves?"},"policy-external-ident":{"type":"string","description":"The external identifier of the policy","title":"policy external identifier","example":"POLICY_ID"}},"required":["claim-number","submitted-date","status","track-reserves?"],"title":"quay.api/claim"}},"input-map":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"aclaimant.service.routes.quay/input-map"}},"required":["company-ident","external-ident","workflow-id","workflow","input-map-id","input-map"]}},"payload-url":{"type":"string","x-nullable":true},"description":{"type":"string","x-nullable":true},"store-payloads?":{"type":"boolean","x-nullable":true}},"title":"quay.answers.bulk/create"}}],"summary":"Create many answers to workflows. Enqueues a bulk job and returns a status URL","security":[{"apiKeyAuth":[]}],"tags":["bulk","answers"]}},"/v1/incidents":{"post":{"responses":{"201":{"schema":{"type":"object","properties":{"result":{"enum":["pending","success","error"],"type":"string","title":"quay.api/result"},"incident-ident":{"type":"string"},"incident-id":{"type":"string","format":"uuid"}},"required":["result","incident-ident","incident-id"]},"description":""},"400":{"schema":{"type":"object","properties":{"error":{},"incident-ident":{"type":"string"}},"required":["error","incident-ident"]},"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"body","description":"","required":true,"schema":{"type":"object","properties":{"incident":{"type":"object","properties":{"incident-ident":{"type":"string"},"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"}},"required":["incident-ident","company-ident"],"title":"aclaimant.service.routes.quay/incident"},"integration":{"description":"keyword or keywordable string","title":"aclaimant.service.routes.quay/integration"}},"required":["incident"]}}],"summary":"Create an incident (v2)","security":[{"apiKeyAuth":[]}],"tags":["incidents"]}},"/v1/files":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"body","description":"","required":true,"schema":{"type":"object","properties":{"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"files":{"type":"array","items":{"type":"object","properties":{"external-ident":{"type":"string","description":"The external-ident of the answer bundle","title":"external-ident","example":"YOUR_IDENT"},"filename":{"type":"string","description":"A filename shown in the files list (e.g. \"photo-01.jpg\")","title":"file/filename"},"content-type":{"type":"string","description":"The content-type of the file data (e.g. \"image/jpeg\")","title":"file/content-type"},"content-length":{"type":"integer","description":"The content-length of the file data measured in bytes","title":"file/content-length"},"confidential?":{"type":"boolean","description":"True when file is considered secure and should only be shown to users with view-confidential permission","title":"file/confidential?"},"tags":{"type":"array","items":{"type":"string"},"description":"An array of strings to tag the file with. The tags must already be created on the company.","title":"file/tags"}},"required":["external-ident","filename","content-type","content-length"],"title":"quay.api/file"}}},"required":["company-ident","files"]}}],"summary":"Create files for an existing items","security":[{"apiKeyAuth":[]}],"tags":["answers"]}},"/v1/event-types/{company-ident}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"path","name":"company-ident","description":"","type":"string","required":true,"title":"company-ident","example":"COMPANY_IDENT"}],"summary":"Available event types for a given company","security":[{"apiKeyAuth":[]}],"tags":["answers"]}},"/v1/bulk/answer-updates":{"post":{"responses":{"default":{"description":""}},"produces":["application/json","application/transit+json","application/edn"],"consumes":["application/json"],"parameters":[{"in":"body","name":"quay.answers.bulk/update","description":"","required":true,"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"workflow-id":{"type":"string","format":"uuid"},"hash":{"type":"string"},"input-map-id":{"type":"string","format":"uuid"},"workflow":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"aclaimant.service.routes.quay/workflow"},"answers":{"type":"object","additionalProperties":{},"title":"deprecated way of specifying inputs"},"search-results":{"type":"object","additionalProperties":{"type":"string"},"description":"search result ident to look up values by","title":"quay.api/search-results","example":{"search-name":"ident-of-a-search-result"}},"company-ident":{"type":"string","title":"company-ident","example":"COMPANY_IDENT"},"state":{"x-allOf":[{},{"enum":["pending","completed","submitted","cancelled","draft"],"type":"string"}],"description":"one of the valid states for an answer bundle (e.g. \"draft\", \"submitted\", etc)","title":"quay.api/state","example":"submitted"},"external-ident":{"type":"string","description":"The external-ident of the answer bundle","title":"external-ident","example":"YOUR_IDENT"},"input-map":{"type":"string","x-allOf":[{"type":"string"},{}],"description":"string that is not empty or whitespace only","title":"aclaimant.service.routes.quay/input-map"}},"required":["company-ident","external-ident","workflow-id","workflow","input-map-id","input-map","answers","search-results","state"]}},"payload-url":{"type":"string","x-nullable":true},"description":{"type":"string","x-nullable":true},"store-payloads?":{"type":"boolean","x-nullable":true}},"title":"quay.answers.bulk/update"}}],"summary":"Update many answers to workflows. Enqueues a bulk job and returns a status URL","security":[{"apiKeyAuth":[]}],"tags":["bulk","answers"]}}}}