Acme Analytics — Portland Office
3 Intentional IssuesA location page whose LocalBusiness markup is declared and whose location data is missing or invalid. The valid counterpart is /fp-localbusiness-location.
Expected result: organization_localbusiness_schema (#71) DETECTED
And localbusiness_schema_location (#74) NOT detected — it is isActive: false and has no emit path, so no fixture can produce it. #71 is the code that owns a declared LocalBusiness with bad location data, and it is what these three schemas are written against.
The three declared schemas
LocalBusiness#portlandNo `address` property at all
Caught by:
SCHEMA_REQUIRED_PROPERTIES.LocalBusiness = ['name', 'address']Expected error: address missing
Restaurant#cafe`address` is a plain string, not a PostalAddress object
Caught by:
validatePostalAddress — typeof entry === 'string'Expected error: address must be a PostalAddress object, not a plain string
Store#store`address` is typed `Place` and declares none of streetAddress, addressLocality, postalCode
Caught by:
validatePostalAddress — hasType + the three named sub-propertiesExpected error: address @type must be PostalAddress, address.streetAddress missing, address.addressLocality missing, address.postalCode missing
Visit us
Acme Analytics — Portland Office
1201 SW Morrison Street, Suite 400
Portland, OR 97205
United States
Phone: +1-503-555-0142
| Monday | 09:00 – 18:00 |
| Tuesday | 09:00 – 18:00 |
| Wednesday | 09:00 – 18:00 |
| Thursday | 09:00 – 18:00 |
| Friday | 09:00 – 16:00 |
| Saturday | Closed |
| Sunday | Closed |
Every fact above is correct and none of it is in the markup correctly. That is the point of the fixture: the page is a real location page, and its structured data cannot be used to place it on a map.
Valid counterpart: /fp-localbusiness-location declares one complete LocalBusiness and must produce nothing. Index: /malformed-fixtures.