Words API · Schema

AntonymsResponse

Response from GET /words/{word}/antonyms.

DictionariesLinguisticsEnglishThesaurusLexical DataPublic APIs

Properties

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

JSON Schema

words-antonyms-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-antonyms-response-schema.json",
  "title": "AntonymsResponse",
  "description": "Response from GET /words/{word}/antonyms.",
  "type": "object",
  "properties": {
    "word": {
      "type": "string",
      "example": "happy"
    },
    "antonyms": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "unhappy",
        "sad"
      ]
    }
  }
}