{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://bluejettyai.com/schemas/v0.1/manifest.schema.json","title":"App Index Manifest 0.1","type":"object","required":["$schema","specVersion","publisher","app","feeds"],"properties":{"$schema":{"enum":["https://bluejettyai.com/schemas/v0.1/manifest.schema.json","https://example.invalid/app-index-profile/0.1/manifest.schema.json"]},"specVersion":{"const":"0.1"},"publisher":{"$ref":"#/$defs/publisher"},"app":{"$ref":"#/$defs/app"},"feeds":{"type":"array","items":{"$ref":"#/$defs/feed"},"minItems":1},"defaultLanguage":{"type":"string","pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"},"contentTypes":{"type":"array","items":{"$ref":"#/$defs/contentType"},"uniqueItems":true},"extensions":{"$ref":"https://bluejettyai.com/schemas/v0.1/entity.schema.json#/$defs/extensions"}},"$defs":{"publisher":{"type":"object","required":["id","name","domain"],"properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9-]*(?:\\.[a-z0-9-]+)+$","maxLength":253},"name":{"type":"string","minLength":1,"maxLength":240},"domain":{"type":"string","format":"hostname"}},"additionalProperties":false},"app":{"type":"object","required":["name","identifiers"],"properties":{"name":{"type":"string","minLength":1,"maxLength":240},"description":{"type":"string","minLength":1,"maxLength":1000},"publisherWebsiteUrl":{"type":"string","format":"uri","pattern":"^https://","maxLength":2048},"identifiers":{"type":"array","items":{"$ref":"#/$defs/platformIdentifier"},"minItems":1},"controlledDomains":{"type":"array","items":{"type":"string","format":"hostname"},"uniqueItems":true},"storeUrls":{"type":"array","items":{"type":"string","format":"uri","pattern":"^https://"},"uniqueItems":true},"handoff":{"$ref":"#/$defs/handoff"},"indexedVersions":{"$ref":"#/$defs/indexedVersions"}},"additionalProperties":false},"handoff":{"type":"object","required":["instructions","preferredUrl"],"properties":{"instructions":{"type":"string","minLength":1,"maxLength":1000,"pattern":"^[^<>]*$"},"preferredUrl":{"type":"string","format":"uri","pattern":"^https://","maxLength":2048},"preferredAppStoreUrl":{"type":"string","format":"uri","pattern":"^https://","maxLength":2048},"attribution":{"type":"object","required":["provider","campaign"],"properties":{"provider":{"enum":["appsflyer","branch","adjust","kochava"]},"campaign":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z0-9._~-]+$"}},"additionalProperties":false}},"additionalProperties":false},"indexedVersions":{"type":"object","minProperties":1,"properties":{"ios":{"$ref":"#/$defs/indexedVersion"},"android":{"$ref":"#/$defs/indexedVersion"}},"additionalProperties":false},"indexedVersion":{"type":"object","required":["version"],"properties":{"version":{"type":"string","minLength":1,"maxLength":64},"build":{"type":"string","minLength":1,"maxLength":64}},"additionalProperties":false},"platformIdentifier":{"type":"object","required":["platform","value"],"properties":{"platform":{"enum":["ios","android","web","other"]},"value":{"type":"string","minLength":1,"maxLength":512}},"additionalProperties":false},"feed":{"type":"object","required":["id","delivery","mediaType","mode","entitySchemaVersion"],"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._~-]{0,127}$"},"delivery":{"enum":["pull","push"]},"url":{"type":"string","format":"uri","pattern":"^https://"},"mediaType":{"enum":["application/json","application/x-ndjson"]},"mode":{"enum":["snapshot","incremental"]},"entitySchemaVersion":{"const":"0.1"},"updateCadence":{"type":"string","minLength":1,"maxLength":128}},"allOf":[{"if":{"properties":{"delivery":{"const":"pull"}},"required":["delivery"]},"then":{"properties":{"url":true},"required":["url"]},"else":{"not":{"required":["url"]}}}],"additionalProperties":false},"contentType":{"type":"object","required":["type","name"],"properties":{"type":{"oneOf":[{"enum":["workout","trail","restaurant","product","event","article","other"]},{"type":"string","format":"uri","pattern":"^https://"}]},"name":{"type":"string","minLength":1,"maxLength":128},"attributeDefinitions":{"type":"object","additionalProperties":{"type":"object","required":["valueType","description"],"properties":{"valueType":{"enum":["string","number","boolean","string[]","number[]"]},"description":{"type":"string","minLength":1,"maxLength":500},"unit":{"type":"string","minLength":1,"maxLength":64},"vocabulary":{"type":"string","minLength":1,"maxLength":256}},"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false}