Analyze the following code. You answer must not contain any comments, just the JSON. Return problems the following format:

[{
        "level": "",
        "message": "",
        "type": ""
}]

CODE:

public void registerContractDefinition(String policyId) {
    var contractDefinition1 = ContractDefinition.Builder.newInstance().id("1").accessPolicyId(policyId)
            .contractPolicyId(policyId)
            .selectorExpression(
                    AssetSelectorExpression.Builder.newInstance().whenEquals(Asset.PROPERTY_ID, "1").build())
            .validity(31536000).build();

    contractDefinitionStore.save(contractDefinition1);
}

private PolicyDefinition createPolicy() {
    var usePermission = Permission.Builder.newInstance().action(Action.Builder.newInstance().type("USE").build())
            .build();

    return PolicyDefinition.Builder.newInstance()
            .policy(Policy.Builder.newInstance().permission(usePermission).build()).build();
} The word "format" should not appear in your response.
user