Skip to content
ifpPublic

About

JSON Schema for IFP (French-Property.com) systems

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

IFP Schemas

This schema is for the Advert JSON data used within the IFP systems. While it is called "sale-advert-schema" it supports both sale and rental adverts.

Public Schemas:

Please use the latest version of these schemas when sending us sale adverts:

Public Sale Advert JSON Schema Changelog

Public Document Examples:

This document provides notes about the use for each field. There are two top-level objects:

  • advert: Information about the advert, i.e. the advertising details.
  • property: Information about the actual property being advertised.

There is some logic to the required fields of the property.geo.user_data, which must be followed in order ensure the advert is validated. It is necessary to supply one of the following combinations as a minimum:

  • post_code
  • commune_name + department_name
  • commune_name + department_code

Other published schemas:

Validating your JSON:

Run the repo's own validator over every schema and fixture:

pip install 'jsonschema~=4.25'
python3 bin/validate.py

It runs in CI on every branch and pull request.

JSON resources:

  • Tutorials
  • JSON Validator - paste our public schema into the left box, then paste your JSON document into the right to validate that it adheres to the schema.

Internal Schemas:

Internal Sale Advert JSON Schema Changelog


Versioning (loosely) follows:

About

JSON Schema for IFP (French-Property.com) systems

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages