Words API · Schema

HasTypesResponse

HasTypesResponse schema from Words API

DictionariesLinguisticsEnglishThesaurusLexical DataPublic APIs

Properties

Name Type Description
word string
hasTypes array
View JSON Schema on GitHub

JSON Schema

words-has-types-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/words/refs/heads/main/json-schema/words-has-types-response-schema.json",
  "title": "HasTypesResponse",
  "description": "HasTypesResponse schema from Words API",
  "type": "object",
  "properties": {
    "word": {
      "type": "string",
      "example": "fruit"
    },
    "hasTypes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "apple",
        "orange",
        "pear"
      ]
    }
  }
}