{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://openbeautystandard.org/schema/0.9/capabilities.schema.json",
 "title": "OBS capabilities",
 "type": "object",
 "required": [
  "obs_core",
  "registry_release",
  "profiles"
 ],
 "properties": {
  "obs_core": {
   "type": "string",
   "description": "the OBS Core release implemented, e.g. 0.9.0"
  },
  "extensions": {
   "type": "object",
   "additionalProperties": {
    "type": "string"
   },
   "propertyNames": {
    "enum": [
     "aesthetics",
     "wellness"
    ]
   },
   "description": "official extensions implemented and their releases, e.g. {\"aesthetics\": \"0.1.0\"}"
  },
  "obs_versions": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "minItems": 1
  },
  "registry_release": {
   "type": "string"
  },
  "profiles": {
   "type": "array",
   "items": {
    "enum": [
     "obs-0.9-l1",
     "obs-0.9-l2",
     "obs-0.9-l3",
     "obs-0.9-l4"
    ]
   }
  },
  "facets": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "include_descendants": {
   "type": "boolean"
  },
  "currencies": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "live_availability": {
   "type": "boolean",
   "description": "true only when backed by the provider"
  },
  "self_test": {
   "type": "string",
   "format": "uri",
   "description": "the published self-test report"
  }
 }
}
