Words API · Schema

HasPartsResponse

HasPartsResponse schema from Words API

DictionariesLinguisticsEnglishThesaurusLexical DataPublic APIs

Properties

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

JSON Schema

words-has-parts-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-parts-response-schema.json",
  "title": "HasPartsResponse",
  "description": "HasPartsResponse schema from Words API",
  "type": "object",
  "properties": {
    "word": {
      "type": "string",
      "example": "car"
    },
    "hasParts": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "wheel",
        "engine",
        "door"
      ]
    }
  }
}