Skip to content
AnswerWell geo Documentation

Research · 5 min read · Answerwell

Structured Data Property Values: Text, URL, and Expected Types

How Schema.org properties declare Text, URL, and related value types, when to use each form, and how to avoid common markup mistakes.

This page summarises how Schema.org documents expected value types for properties. Across dozens of property definitions, the same heading appears—Values expected to be one of these types—followed by a short list of allowed types. Most entries allow a literal Text value, a URL reference, or both; some also allow structured types such as Thing, Taxon, or PropertyValue.

Expected value types: what Schema.org is telling you

Section titled “Expected value types: what Schema.org is telling you”

On each property page, Schema.org states which data types a property may carry. For example, identifier documents:

Values expected to be one of these types

PropertyValue
Text
URL

— Schema.org, identifier

That list is a disjunction: your markup may use any one of those types for that property (not all at once on a single value). If you pick a type your serializer does not support, validators and consumers may flag the property as invalid or ignore it.

A large share of properties in this family allow only Text and URL, for example additionalType, gtin, and termsOfService:

Values expected to be one of these types

Text
URL

— Schema.org, additionalType

Text means a string label or identifier in plain form (a product code, a category name, a warning message). URL means the value is a dereferenceable web address—typically a page that defines the term, hosts the document, or is the canonical resource. When both are allowed, choose URL if a stable link exists; use Text when the value is only meaningful as a string (many GTINs, short enums, or inline notices) or when no canonical page exists.

Properties that add structured types beyond Text and URL

Section titled “Properties that add structured types beyond Text and URL”

Some properties extend the Text/URL pattern with Schema.org types that carry more fields.

Pattern Example properties Extra types (from docs)
Text + URL only encodingFormat, fileFormat, sport —
Text + URL + Thing gamePlatform, knowsAbout Linked entity instead of a bare string
Text + URL + Taxon childTaxon, parentTaxon Taxonomic parent/child as structured nodes
Text + URL + PropertyValue hasRepresentation, taxonRank Name/value pairs or ranked properties
Text + URL + domain object hasMenu, material Menu, Product
Text + URL + time temporalCoverage DateTime

For gamePlatform, the expected types are:

Values expected to be one of these types

Text
Thing
URL

— Schema.org, gamePlatform

Use a nested Thing (or a more specific subtype) when the platform is an entity with its own properties; use Text for a simple platform name; use URL when the platform is identified chiefly by its official site or store listing.

Not every property follows the Text/URL pair. acceptsReservations also allows Boolean:

Values expected to be one of these types

Boolean
Text
URL

— Schema.org, acceptsReservations

actionPlatform adds DigitalPlatformEnumeration:

Values expected to be one of these types

DigitalPlatformEnumeration
Text
URL

— Schema.org, actionPlatform

For booleans, prefer a JSON-LD boolean when the property is clearly true/false; reserve Text or URL for legacy string encodings or when mirroring visible page content.

consumerNotice allows TextObject and WebContent in addition to Text and URL:

Values expected to be one of these types

Text
TextObject
URL
WebContent

— Schema.org, consumerNotice

Use Text or URL for simple notices; use TextObject or WebContent when the notice has structure (headings, HTML body, embedded media) that you already model elsewhere on the page.

Identifiers, formats, and metadata-heavy Text/URL properties

Section titled “Identifiers, formats, and metadata-heavy Text/URL properties”

Several properties describe identifiers or external vocabularies and routinely appear as either a string or a link to the defining authority:

schemaVersion and releaseNotes follow the same Text/URL pattern—version strings as Text, or URL when version notes live on a dedicated page.

correction adds CorrectionComment:

Values expected to be one of these types

CorrectionComment
Text
URL

— Schema.org, correction

Link to a correction statement with URL; use CorrectionComment or Text when the correction is embedded in the dataset.

Common mistakes when Text and URL are both allowed

Section titled “Common mistakes when Text and URL are both allowed”
  1. Using a URL string without the URL type — Putting "https://example.com/terms" in a field typed as plain text may parse, but you lose the explicit URL semantics consumers expect for termsOfService and similar properties.

  2. Choosing URL when the target is not stable — Tracking URLs, sessionized links, or search result pages are poor choices for additionalType or identifier; prefer Text or a canonical URL.

  3. Ignoring richer allowed types — Setting hasMenu to a bare URL when you already have a Menu object on the page skips structured data that search features can use.

  4. Mixing multiple types on one value — Expected types are alternatives for a single value, not a checklist to satisfy simultaneously.

  5. Omitting the property — If visible content maps to a property (e.g. warning, requirements), absence is worse than choosing Text over URL.

  1. For each property you emit, open its Schema.org page (for example identifier or gtin) and confirm your JSON-LD value uses one of the listed expected types.

  2. For every value you marked as a link, verify the live URL returns 200 (or the expected redirect) and matches the same URL shown to users on the page—for properties such as termsOfService or releaseNotes.

  3. Compare human-visible strings (warnings, requirements, categories) with Text properties—warning, requirements, applicationCategory—so literals are not only in HTML with no structured counterpart.

  4. Where both Text and structured types are allowed (e.g. parentTaxon with Taxon), inspect one representative page in your CMS export to ensure you are not duplicating conflicting values.

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact sentence you are asking about, and we will correct or clarify it.