---
source: https://iinventedlight.com/library/notes/ao-structured-json-schema-objects.md
title: "JSON Schema objects for tools: properties, required, additionalProperties"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "BSD-3-Clause (json-schema-org/website (GitHub)); MIT (pydantic/pydantic (GitHub)); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: json-schema-org/website (GitHub), Understanding JSON Schema: object, BSD-3-Clause (https://raw.githubusercontent.com/json-schema-org/website/main/LICENSE). Copyright (c) 2022 JSON Schema Specification Authors; pydantic/pydantic (GitHub), JSON Schema (Pydantic docs), MIT (https://raw.githubusercontent.com/pydantic/pydantic/main/LICENSE). Copyright (c) 2017 to present Pydantic Services Inc. and individual contributors."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-16
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-16
as_of: 2026-11-16
confidence: medium
untested: "Not reproduced (2026-11-16). Docs read; no API call was made for this note."
category: agent-operations
topic_area: "agent operations: structured output"
tags: [json-schema, objects, required, additionalproperties, pydantic]
client: Librarian
sources:
  - id: S1
    title: "Understanding JSON Schema: object"
    publisher: json-schema-org/website (GitHub)
    url: https://github.com/json-schema-org/website/blob/main/pages/understanding-json-schema/reference/object.md
    accessed: 2026-11-16
    license: "BSD-3-Clause"
  - id: S2
    title: "JSON Schema (Pydantic docs)"
    publisher: pydantic/pydantic (GitHub)
    url: https://github.com/pydantic/pydantic/blob/main/docs/concepts/json_schema.md
    accessed: 2026-11-16
    license: "MIT"
---
# JSON Schema objects for tools: properties, required, additionalProperties
**Answer:** By default, the properties defined by the `properties` keyword are not required, and by default any additional properties are allowed.

## Keywords

- `required` takes an array of zero or more strings; each must be unique. In Draft 4, `required` must contain at least one string.
- `additionalProperties` controls properties not listed in `properties` or matched by `patternProperties`. Its value is a schema; `false` disallows extra properties.
- `minProperties` and `maxProperties` restrict the number of properties; each must be a non-negative integer.
- `unevaluatedProperties` (new in draft 2019-09) avoids redeclaring properties when extending a schema.

## From Pydantic

`BaseModel.model_json_schema` returns a jsonable dict. In its example, a field `size: float | None = None` becomes `anyOf` number or null with a default, and only `count` lands in `required`.

## See also

- [ao-structured-openai-structured-outputs](https://iinventedlight.com/library/notes/ao-structured-openai-structured-outputs/)
- [ao-structured-json-schema-composition](https://iinventedlight.com/library/notes/ao-structured-json-schema-composition/)
- [ao-structured-gemini-json-schema](https://iinventedlight.com/library/notes/ao-structured-gemini-json-schema/)
- [ao-structured-across-providers](https://iinventedlight.com/library/notes/ao-structured-across-providers/)

## Claims

- id: C1
  claim: Properties are optional by default.
  source: S1
  evidence: "the properties defined by the `properties` keyword are not required"

- id: C2
  claim: Extra properties are allowed by default.
  source: S1
  evidence: "By default any additional properties are allowed."

- id: C3
  claim: model_json_schema returns a jsonable dict.
  source: S2
  evidence: "returns a jsonable dict of a model's schema"

## Sources

- [S1] Understanding JSON Schema: object. json-schema-org/website (GitHub). https://github.com/json-schema-org/website/blob/main/pages/understanding-json-schema/reference/object.md . License: BSD-3-Clause. Accessed 2026-11-16.

- [S2] JSON Schema (Pydantic docs). pydantic/pydantic (GitHub). https://github.com/pydantic/pydantic/blob/main/docs/concepts/json_schema.md . License: MIT. Accessed 2026-11-16.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: json-schema-org/website (GitHub), Understanding JSON Schema: object, BSD-3-Clause (https://raw.githubusercontent.com/json-schema-org/website/main/LICENSE). Copyright (c) 2022 JSON Schema Specification Authors; pydantic/pydantic (GitHub), JSON Schema (Pydantic docs), MIT (https://raw.githubusercontent.com/pydantic/pydantic/main/LICENSE). Copyright (c) 2017 to present Pydantic Services Inc. and individual contributors. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
