JSON schema for SharePoint Site Script

%3CLINGO-SUB%20id%3D%22lingo-sub-209166%22%20slang%3D%22en-US%22%3EJSON%20schema%20for%20SharePoint%20Site%20Script%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-209166%22%20slang%3D%22en-US%22%3E%3CP%3EI%20was%20using%20site%20scripts%20and%20site%20design%20to%20create%20site%20column%20and%20content%20type.%20I%26nbsp%3Bam%20facing%20two%20issues%20and%20I%20did%20not%20found%20their%20schema%20on%20Microsoft%20documentation%20those%20are%20below.%3C%2FP%3E%3CP%3E1.%26nbsp%3BHow%20to%20create%20choice%2C%20currency%20and%20lookup%20column.%20In%20relation%20to%20choice%20column%20other%20than%20fieldType%20how%20to%20give%20choices%20and%20default%20values%3F%3C%2FP%3E%3CP%3E2.%20While%20creating%20custom%20list%2C%20How%20to%20set%20newly%20created%20content%20type%20as%20a%20default%20content%20type%20in%20JSON.%20Please%20help%20me%20or%20you%20can%20send%20me%20relevant%20link.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20in%20Advance%2C%3C%2FP%3E%3CP%3EVishal%20Dhole%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I was using site scripts and site design to create site column and content type. I am facing two issues and I did not found their schema on Microsoft documentation those are below.

1. How to create choice, currency and lookup column. In relation to choice column other than fieldType how to give choices and default values?

2. While creating custom list, How to set newly created content type as a default content type in JSON. Please help me or you can send me relevant link.

 

Thank you in Advance,

Vishal Dhole

0 Replies