From 87ad9590e399eeb6290dc053a21290d8190f42b8 Mon Sep 17 00:00:00 2001 From: Cerys Date: Wed, 8 Jan 2025 13:49:32 +0000 Subject: [PATCH] added auxilium schemas as examples --- examples/Schemas/CaseSchema.php | 97 ++++++++++ examples/Schemas/CollectionSchema.php | 15 ++ examples/Schemas/DocumentSchema.php | 43 +++++ examples/Schemas/EnumSchema.php | 14 ++ .../{Message.php => MessageSchema.php} | 24 +-- ...rganisation.php => OrganisationSchema.php} | 36 ++-- examples/Schemas/UserSchema.php | 169 ++++++++++++++++++ 7 files changed, 369 insertions(+), 29 deletions(-) create mode 100644 examples/Schemas/CaseSchema.php create mode 100644 examples/Schemas/CollectionSchema.php create mode 100644 examples/Schemas/DocumentSchema.php create mode 100644 examples/Schemas/EnumSchema.php rename examples/Schemas/{Message.php => MessageSchema.php} (71%) rename examples/Schemas/{Organisation.php => OrganisationSchema.php} (64%) create mode 100644 examples/Schemas/UserSchema.php diff --git a/examples/Schemas/CaseSchema.php b/examples/Schemas/CaseSchema.php new file mode 100644 index 0000000..6bad961 --- /dev/null +++ b/examples/Schemas/CaseSchema.php @@ -0,0 +1,97 @@ +Name = $data["name"]; @@ -98,4 +99,5 @@ class Organisation implements SchemaDocumentInterface $this->Cases = $data["cases"]; $this->Staff = $data["staff"]; } + */ } diff --git a/examples/Schemas/UserSchema.php b/examples/Schemas/UserSchema.php new file mode 100644 index 0000000..3de7591 --- /dev/null +++ b/examples/Schemas/UserSchema.php @@ -0,0 +1,169 @@ +