PHP Json-schema Resources