SWIPIFY · Schema

ProjectDetail

Suivi de chantier avec ses membres, ses documents rattachés et son fil, renvoyé par GET /projects/{id}.

Company

Properties

Name Type Description
id integer
title string
status string
address stringnull Adresse du chantier
startDate stringnull
endDate stringnull Fin prévue
completedAt stringnull Fin effective, null tant que le chantier est en cours
nextStep stringnull Prochaine étape annoncée au client
nextStepDate stringnull
customer object
review objectnull Note de fin de chantier laissée par le client, null tant qu'il n'en a pas laissé.
createdAt string
updatedAt string Dernière activité (message, document rattaché, fin)
completionNote stringnull Mot de fin adressé au client
clientCanPost boolean true si le client peut écrire dans le fil
internalNotes stringnull Notes pour l'équipe, jamais montrées au client
members array Membres d'équipe affectés au chantier
quotes array Devis rattachés (émis, jamais les brouillons)
invoices array Factures rattachées (émises, jamais les brouillons)
posts array Fil du chantier, du plus ancien au plus récent
View JSON Schema on GitHub

JSON Schema

swipify-fr-project-detail-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/swipify-fr/json-schema/swipify-fr-project-detail-schema.json",
  "title": "ProjectDetail",
  "description": "Suivi de chantier avec ses membres, ses documents rattachés et son fil, renvoyé par GET /projects/{id}.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/swipify-fr-openapi.yml#/components/schemas/ProjectDetail",
  "allOf": [
    {
      "$ref": "#/$defs/Project"
    },
    {
      "type": "object",
      "properties": {
        "completionNote": {
          "type": [
            "string",
            "null"
          ],
          "description": "Mot de fin adressé au client"
        },
        "clientCanPost": {
          "type": "boolean",
          "description": "true si le client peut écrire dans le fil"
        },
        "internalNotes": {
          "type": [
            "string",
            "null"
          ],
          "description": "Notes pour l'équipe, jamais montrées au client"
        },
        "members": {
          "type": "array",
          "description": "Membres d'équipe affectés au chantier",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        },
        "quotes": {
          "type": "array",
          "description": "Devis rattachés (émis, jamais les brouillons)",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer"
              },
              "number": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "type": "string"
              },
              "object": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "totalTTC": {
                "type": "string"
              },
              "date": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            }
          }
        },
        "invoices": {
          "type": "array",
          "description": "Factures rattachées (émises, jamais les brouillons)",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer"
              },
              "number": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "type": "string"
              },
              "totalTTC": {
                "type": "string"
              },
              "netDueTTC": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Restant dû d'une facture de solde, null sinon"
              },
              "date": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "dueDate": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "paidDate": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "quoteId": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "isDeposit": {
                "type": "boolean",
                "description": "true pour une facture d'acompte"
              }
            }
          }
        },
        "posts": {
          "type": "array",
          "description": "Fil du chantier, du plus ancien au plus récent",
          "items": {
            "$ref": "#/$defs/ProjectPost"
          }
        }
      }
    }
  ],
  "$defs": {
    "DocumentParty": {
      "type": [
        "object",
        "null"
      ],
      "description": "Client (destinataire), forme allégée. `id` se réutilise en `clientId`.",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Nom affiché : la raison sociale d'une entreprise, le prénom et le nom du contact d'un particulier."
        }
      }
    },
    "Project": {
      "type": "object",
      "description": "Suivi de chantier, forme de liste (en-tête du fil partagé avec le client).",
      "properties": {
        "id": {
          "type": "integer"
        },
        "title": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "active",
            "completed",
            "archived"
          ]
        },
        "address": {
          "type": [
            "string",
            "null"
          ],
          "description": "Adresse du chantier"
        },
        "startDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "endDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Fin prévue"
        },
        "completedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Fin effective, null tant que le chantier est en cours"
        },
        "nextStep": {
          "type": [
            "string",
            "null"
          ],
          "description": "Prochaine étape annoncée au client"
        },
        "nextStepDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "customer": {
          "$ref": "#/$defs/DocumentParty"
        },
        "review": {
          "type": [
            "object",
            "null"
          ],
          "description": "Note de fin de chantier laissée par le client, null tant qu'il n'en a pas laissé.",
          "properties": {
            "rating": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5
            },
            "comment": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Dernière activité (message, document rattaché, fin)"
        }
      }
    },
    "ProjectPost": {
      "type": "object",
      "description": "Message ou jalon du fil. `audience: team` = note d'équipe, jamais vue du client.",
      "properties": {
        "id": {
          "type": "integer"
        },
        "kind": {
          "type": "string",
          "enum": [
            "post",
            "milestone"
          ]
        },
        "audience": {
          "type": "string",
          "enum": [
            "shared",
            "team"
          ]
        },
        "body": {
          "type": [
            "string",
            "null"
          ]
        },
        "author": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "owner",
                "member",
                "client"
              ]
            },
            "name": {
              "type": "string"
            }
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "mediaCount": {
          "type": "integer",
          "description": "Photos jointes (non servies par l'API)"
        },
        "comments": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer"
              },
              "body": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "author": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "owner",
                      "member",
                      "client"
                    ]
                  },
                  "name": {
                    "type": "string"
                  }
                }
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/swipify-fr-project-detail"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.