/* * Decompiled with CFR 0.152. */ package net.minecraft.server.jsonrpc.api; import java.net.URI; import java.util.List; import net.minecraft.server.jsonrpc.api.Schema; public record SchemaComponent(String name, URI ref, Schema schema) { public Schema asRef() { return Schema.ofRef(this.ref, this.schema.codec()); } public Schema> asArray() { return Schema.arrayOf(this.asRef(), this.schema.codec()); } }