Download the PHP package kidran/event-schedule-schema without Composer
On this page you can find all versions of the php package kidran/event-schedule-schema. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kidran/event-schedule-schema
More information about kidran/event-schedule-schema
Files in kidran/event-schedule-schema
Package event-schedule-schema
Short Description Laravel package for generating and validating Barq-compatible furry event schedule JSON.
License MIT
Homepage https://github.com/kidran/event-schedule-schema
Informations about the package event-schedule-schema
Furry Event Schedule Schema
Laravel/PHP Composer package for generating and validating Kidran-compatible furry event schedule JSON.
The package keeps the original JSON Schema files in schema/ and adds PHP DTOs, a fluent factory API, Laravel bindings, a validation rule, an Artisan command, and optional domain validation for cross-reference checks.
Installation
Laravel discovers the service provider automatically. To publish the config:
To publish the bundled schema files into resources/event-schedule-schema/schema:
Generate A Schedule
Localized fields accept either a map like ['en-US' => 'Opening Ceremony'] or a string. Strings are stored under the configured default_locale, which defaults to en-US.
Validate
The validator accepts files, JSON strings, arrays, and EventSchedule objects.
Artisan Command
Laravel Validation Rule
DTOs
Available data objects:
EventScheduleEventInfoMembershipLevelTrackSessionTypeLabelVenueRoomHostSessionTimeSlotExternalLink
Each object supports fromArray() and toArray(). EventSchedule also supports fromJson() and toJson().
Validation Modes
JSON Schema validation checks the structural format from schema/furry-event-schedule-schema.json, including required fields, types, URI formats, date-time formats, and rejected additional properties.
Domain validation is optional and checks relationships that the current JSON Schema does not enforce:
rooms[*].venueIdreferences an existing venue.sessions[*].typeIdreferences an existing session type.sessions[*].trackIdreferences an existing track.sessions[*].labelIds[*]references existing labels.sessions[*].allowedMembershipLevelIds[*]references existing membership levels.sessions[*].timeSlots[*].roomIds[*]references existing rooms.sessions[*].timeSlots[*].hostIds[*]references existing hosts.timeSlots[*].endTimeis afterstartTime.
Development
The old Node/AJV validation tooling has been removed. Composer/PHP is now the source of truth for tests, validation, and CI.
All versions of event-schedule-schema with dependencies
ext-json Version *
illuminate/console Version ^11.0|^12.0|^13.0
illuminate/contracts Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
justinrainbow/json-schema Version ^6.10